Platform LSF Administration Guide Version 6.2
Chapter 33
External Job Submission and Execution Controls
Administering Platform LSF
497
Example submission parameter file
If a user submits the following job:
%
bsub -q normal -x -P my_project -R “r1m rusage[dummy=1]” -n 90 sleep 10
The contents of the LSB_SUB_PARM_FILE will be:
LSB_SUB_QUEUE="normal"
LSB_SUB_EXCLUSIVE=Y
LSB_SUB_RES_REQ="r1m rusage[dummy=1]"
LSB_SUB_PROJECT_NAME="my_project"
LSB_SUB_COMMAND_LINE="sleep 10"
LSB_SUB_NUM_PROCESSORS=90
LSB_SUB_MAX_NUM_PROCESSORS=90
LSB_SUB_ABORT_VALUE
This variable indicates the value esub should exit with if LSF is to reject the job
submission.
LSB_SUB_MODIFY_ENVFILE
The file in which esub should write any changes to the job environment variables.
esub writes the variables to be modified to this file in the same format used in
LSB_SUB_PARM_FILE. The order of the variables does not matter.
After
esub runs, LSF checks LSB_SUB_MODIFY_ENVFILE for changes and if
found, LSF will apply them to the job environment variables.
LSB_SUB_MODIFY_FILE
The file in which esub should write any submission parameter changes.
esub writes the job options to be modified to this file in the same format used in
LSB_SUB_PARM_FILE. The order of the options does not matter. After
esub runs,
LSF checks LSB_SUB_MODIFY_FILE for changes and if found LSF will apply them
to the job.
LSB_SUB_ADDITIONAL cannot be changed in or added to LSB_SUB_MODIFY_FILE.
LSF_INVOKE_CMD
Indicates the name of the last LSF command that invoked an external executable (for
example,
esub).
LSB_SUB_RLIMIT_STACK Stack size limit
LSB_SUB_RLIMIT_THREAD Thread limit
LSB_SUB_TERM_TIME Termination time, in seconds, since 00:00:00 GMT, Jan. 1, 1970
LSB_SUB_TIME_EVENT Time event expression
LSB_SUB_USER_GROUP User group name
LSB_SUB_WINDOW_SIG Window signal number
LSB_SUB2_JOB_GROUP Options specified by
bsub -g
LSB_SUB2_LICENSE_PROJECT LSF License Scheduler project name specified by bsub -Lp
LSB_SUB2_SLA SLA scheduling options
LSB_SUB2_USE_RSV Advance reservation ID specified by
bsub -U
Option Description