Platform LSF Reference Version 6.2

Environment Variable Reference
Platform LSF Reference
274
If you submit a job with the -P option of bsub, the job belongs to the project specified
through the
-P option.
Where defined
From the command line, or through the -P option of bsub
Example
LSB_DEFAULTPROJECT=engineering
See also
See “lsb.params” under “DEFAULT_PROJECT” on page 378, the -P option of bsub.
LSB_DEFAULTQUEUE
Syntax
LSB_DEFAULTQUEUE=queue_name
Description
Defines the default LSF queue.
Default
mbatchd
decides which is the default queue. You can override the default by defining
LSB_DEFAULTQUEUE.
Notes
If the LSF administrator defines a default queue in the lsb.params configuration file,
then the system uses this as the default queue. Provided you have permission, you can
change the default queue by setting LSB_DEFAULTQUEUE to a valid queue (see
bqueues for a list of valid queues).
Where defined
From the command line
See also
See “lsb.params” under “DEFAULT_QUEUE” on page 378.
LSB_ECHKPNT_METHOD
This parameter can be set as an environment variable and/or in lsf.conf. See
lsf.conf” under “LSB_ECHKPNT_METHOD” on page 517.
LSB_ECHKPNT_METHOD_DIR
This parameter can be set as an environment variable and/or in lsf.conf. See
lsf.conf” under “LSB_ECHKPNT_METHOD_DIR” on page 518.
LSB_ECHKPNT_KEEP_OUTPUT
This parameter can be set as an environment variable and/or in lsf.conf. See
lsf.conf” under “LSB_ECHKPNT_KEEP_OUTPUT” on page 517.
LSB_ERESTART_USRCMD
Syntax
LSB_ERESTART_USRCMD=command
Description
Original command used to start the job.
This environment variable is set by
erestart to pass the job’s original start command
to a custom
erestart method erestart.method_name. The value of this
variable is extracted from the job file of the checkpointed job.
If a job starter is defined for the queue to which the job was submitted, the job starter
is also included in LSB_ERESTART_USRCMD. For example, if the job starter is
/bin/sh -c "%USRCMD" in lsb.queues, and the job name is myapp -d,
LSB_ERESTART_USRCMD will be set to:
/bin/sh -c "myapp -d"
Where defined
Set by erestart as an environment variable before a job is restarted