Create a job array

Procedure

Create a job array at job submission time.

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>.

Change the maximum size of a job array

About this task

A large job array allows a user to submit a large number of jobs to the system with a single job submission.

By default, the maximum number of jobs in a job array is 1000, which means the maximum size of a job array cannot exceed 1000 jobs.

Procedure

Set MAX_JOB_ARRAY_SIZE in lsb.params to any positive integer between 1 and 2147483646.

The maximum number of jobs in a job array cannot exceed the value set by MAX_JOB_ARRAY_SIZE.