lsblib
Application Programming Interface (API) library functions for batch jobsLSBLIB functions allow application programs to get information about the hosts, queues, users, jobs and configuration of the batch system. Application programs can also submit jobs and control hosts, queues and jobs. Finally, application programs can read batch log files and write batch error messages.
- Note:
- All LSBLIB APIs require that the batch header file <lsf/lsbatch.h> be included.
- Many LSBLIB APIs return a pointer to an array or structure. These data structures are in static storage or on the heap. The next time the API is called, the storage is overwritten or freed.
- Any program using LSBLIB APIs that change the state of the batch system (that is, except for APIs that just get information about the system) must be setuid to root if LSF_AUTH is not defined in the lsf.conf file.
- On systems which have both System V and BSD programming interfaces, LSBLIB typically requires the BSD programming interface. On System V-based versions of UNIX, for example SGI IRIX, it is normally necessary to link applications using LSBLIB with the BSD compatibility library.
- On AFS systems, the following needs to be added to the end of your linkage specifications when linking with LSBLIB (assuming your AFS library path is /usr/afsws):
- For HP-UX and Solaris,
- -lc -L/usr/afsws/lib -L/usr/afsws/lib/afs -lsys -lrx -llwp /usr/afsws/lib/afs/util.a
- For other platforms,
Files:
- -lc -L/usr/afsws/lib -L/usr/afsws/lib/afs -lsys -lrx -llwp
- ${LSF_ENVDIR:-/etc}/lsf.conf
$LSF_CONFDIR/lsf.shared
$LSF_CONFDIR/lsf.cluster.cluster_name
$LSF_CONFDIR/lsf.task
$LSF_CONFDIR/lsf.task.cluster_name
$LSB_CONFDIR/cluster_name/configdir/lsb.hosts
$$LSB_CONFDIR/cluster_name/configdir/lsb.params
$LSB_CONFDIR/cluster_name/configdir/lsb.queues
$LSB_CONFDIR/cluster_name/configdir/lsb.users
Date Modified: 16 Jul 2014
Terms of Use
Copyright © 1994-2014 International Business Machines Corp.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.