Platform LSF Administration Guide Version 6.2
Chapter 27
Job Arrays
Administering Platform LSF
425
Requeuing a Job Array
Use brequeue to requeue a job array. When the job is requeued, it is assigned the PEND
status and the job’s new position in the queue is after other jobs of the same priority. You
can requeue:
◆
Jobs in DONE job state
◆
Jobs EXIT job state
◆
All jobs regardless of job state in a job array.
◆
EXIT, RUN, DONE jobs to PSUSP state
◆
Jobs in RUN job state
brequeue is not supported across clusters.
Requeuing jobs in DONE state
To requeue DONE jobs use the -d option of brequeue. For example, the command
brequeue -J "myarray[1-10]" -d 123 requeues jobs with job ID 123 and
DONE status.
Requeuing Jobs in EXIT state
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.
Requeuing all jobs in an array regardless of job state
A submitted job array can have jobs that have different job states. To requeue all the jobs
in an array regardless of any job’s 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.
Requeuing RUN jobs to PSUSP state
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.
Requeuing jobs in RUN state
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.