LSF Version 7.3 - Administering Platform LSF

Administering Platform LSF 497
Job Arrays
Requeue Jobs in EXIT state
1 To requeue EXIT jobs use the -e option of brequeue.
For example, the command
brequeue -J "myarray[1-10]" -e 123 requeues
jobs with job ID 123 and EXIT status.
Requeue all jobs in an array regardless of job state
1 A submitted job array can have jobs that have different job states. To requeue
all the jobs in an array regardless of any jobs state, use the -a option of
brequeue.
For example, the command
brequeue -J "myarray[1-10]" -a 123 requeues
all jobs in a job array with job ID 123 regardless of their job state.
Requeue RUN jobs to PSUSP state
1 To requeue RUN jobs to PSUSP state, use the -H option of brequeue.
For example, the command
brequeue -J "myarray[1-10]" -H 123 requeues
to PSUSP RUN status jobs with job ID 123.
Requeue jobs in RUN state
1 To requeue RUN jobs use the -r option of brequeue.
For example, the command
brequeue -J "myarray[1-10]" -r 123 requeues
jobs with job ID 123 and RUN status.
Job Array Job Slot Limit
The job array job slot limit is used to specify the maximum number of jobs
submitted from a job array that are allowed to run at any one time. A job array
allows a large number of jobs to be submitted with one command, potentially
flooding a system, and job slot limits provide a way to limit the impact a job array
may have on a system. Job array job slot limits are specified using the following
syntax:
bsub -J "job_array_name[index_list]%job_slot_limit" myJob
where:
%job_slot_limit Specifies the maximum number of jobs allowed to run at any one time. The percent
sign (
%) must be entered exactly as shown. Valid values are positive integers less
than the maximum index value of the job array.