LSF Version 7.3 - Administering Platform LSF

Administering Platform LSF 489
C HAPTER
31
Job Arrays
LSF provides a structure called a job array that allows a sequence of jobs that share
the same executable and resource requirements, but have different input files, to be
submitted, controlled, and monitored as a single unit. Using the standard LSF
commands, you can also control and monitor individual jobs and groups of jobs
submitted from a job array.
After the job array is submitted, LSF independently schedules and dispatches the
individual jobs. Each job submitted from a job array shares the same job ID as the
job array and are uniquely referenced using an array index. The dimension and
structure of a job array is defined when the job array is created.
Contents
Create a Job Array on page 489
Handling Input and Output Files on page 491
Job Array Dependencies on page 493
Monitoring Job Arrays on page 493
Controlling Job Arrays on page 495
Requeuing a Job Array on page 496
Job Array Job Slot Limit on page 497
Create a Job Array
A job array is created at job submission time using the -J option of bsub.
1 For example, the following command creates a job array named myArray made
up of 1000 jobs.
bsub -J "myArray[1-1000]" myJob
Job <123> is submitted to default queue <normal>.