LSF Version 7.3 - Administering Platform LSF

Requeuing a Job Array
496 Administering Platform LSF
Control a whole array
1 To control the whole job array, specify the command as you would for a single
job using only the job ID.
For example, to kill a job array with job ID 123:
bkill 123
Control individual jobs
1 To control an individual job submitted from a job array, specify the command
using the job ID of the job array and the index value of the corresponding job.
The job ID and index value must be enclosed in quotes.
For example, to kill the 5th job in a job array with job ID 123:
bkill "123[5]"
Control groups of jobs
1 To control a group of jobs submitted from a job array, specify the command as
you would for an individual job and use
indexList syntax to indicate the jobs.
For example, to kill jobs 1-5, 239, and 487 in a job array with job ID 123:
bkill "123[1-5, 239, 487]"
Requeuing a Job Array
Use brequeue to requeue a job array. When the job is requeued, it is assigned the
PEND status and the jobs new position in the queue is after other jobs of the same
priority. You can requeue:
Jobs in DONE job state
Jobs in 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.
Requeue jobs in DONE state
1 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.