Platform LSF Reference Version 6.2

Environment Variables
Platform LSF Reference
275
See also
LSB_ECHKPNT_METHOD, erestart, echkpnt
LSB_EXEC_RUSAGE
Syntax
LSB_EXEC_RUSAGE="resource_name1 resource_value1
resource_name2 resource_value2..."
Description
Indicates which rusage string is satisfied to permit the job to run. This environment
variable is necessary because the
OR (||) operator specifies alternative rusage strings
for running jobs.
Valid values
resource_value1
, resource_value2,... refer to the resource values on
resource_name1, resource_name2,... respectively.
Default
Undefined
Where defined
Set by LSF after reserving a resource for the job.
LSB_EXECHOSTS
Description
A list of hosts on which a batch job will run.
Where defined
Set by sbatchd
Product
MultiCluster
LSB_EXIT_PRE_ABORT
Description
The queue-level or job-level pre_exec_command can exit with this value if the job is
to be aborted instead of being requeued or executed
Where defined
Set by sbatchd
See also
See “lsb.queues”, or the -E option of bsub.
LSB_EXIT_REQUEUE
Syntax
LSB_EXIT_REQUEUE="exit_value1 exit_value2..."
Description
Contains a list of exit values found in the queue’s REQUEUE_EXIT_VALUES
parameter defined in
lsb.queues.
Valid Values
Any positive integers
Default
Undefined
Notes
If LSB_EXIT_REQUEUE is defined, a job will be requeued if it exits with one of the
specified values.
LSB_EXIT_REQUEUE is undefined if the parameter REQUEUE_EXIT_VALUES is
undefined.
Where defined
Set by the system based on the value of the parameter REQUEUE_EXIT_VALUES in
lsb.queues
Example
LSB_EXIT_REQUEUE="7 31"
See also
See “lsb.queues” under “REQUEUE_EXIT_VALUES” on page 421.