Create a job submission script
Create a job submission script with the bsub command and environment variables that represent the job name and job array index.
About this task
LSF Process Manager can successfully track the jobs and job arrays that are submitted through customized scripts only if these conditions are met:
Specify the job name (JS_JOB_NAME environment variable) and
job array index (JS_INDEX_LIST environment variable) in the job or
job array submission script.
bsub -q short -R "mem>1000" -J $JS_JOB_NAME$JS_INDEX_LIST my_command
- Submit only one job or job array through the job or job array submission script.
Do not use the following bsub options in the script:
- -I/-Ip/-Is: Interactive jobs.
- -K: Submit a job and wait for the job to complete.
- The script must exit zero upon successful submission, or non-zero otherwise.