LSF Version 7.3 - Administering Platform LSF
Administering Platform LSF 577
External Job Submission and Execution Controls
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.
TIP: 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).
External executables get called by several LSF commands (
bsub, bmod, lsrun). This
variable contains the name of the last LSF command to call the executable.
General esub logic
After esub runs, LSF checks:
LSB_SUB3_RUNTIME_ESTIMATION Runtime estimate spedified by bsub -We
LSB_SUB3_USER_SHELL_LIMITS Pass user shell limits to execution host. Spedified by bsub -ul.
Option Description