LSF Version 7.3 - Platform LSF Configuration Reference

LSB_JOBEXIT_STAT
Syntax
LSB_JOBEXIT_STAT=exit_status
Description
Indicates a job’s exit status.
Applies to post-execution commands. Post-execution commands are set with POST_EXEC
in lsb.queues.
When the post-execution command is run, the environment variable LSB_JOBEXIT_STAT
is set to the exit status of the job. Refer to the man page for the wait(2) command for the
format of this exit status.
The post-execution command is also run if a job is requeued because the job’s execution
environment fails to be set up, or if the job exits with one of the queue’s
REQUEUE_EXIT_VALUES. The LSB_JOBPEND environment variable is set if the job is
requeued. If the job’s execution environment could not be set up, LSB_JOBEXIT_STAT is set
to 0.
Valid values
Any positive integer
Where defined
Set by sbatchd
LSB_JOBFILENAME
Syntax
LSB_JOBFILENAME=file_name
Description
The path to the batch executable job file that invokes the batch job. The batch executable job
file is a /bin/sh script on UNIX systems or a .BAT command script on Windows systems.
LSB_JOBGROUP
Syntax
LSB_JOBGROUP=job_group_name
Description
The name of the job group associated with the job. When a job is dispatched, if it belongs to
a job group, the runtime variable LSB_JOBGROUP is defined as its group. For example, if a
dispatched job belongs to job group /X, LSB_JOBGROUP=/X.
Environment variables
Platform LSF Configuration Reference 571