Setting a job array slot limit at submission
Procedure
Use the bsub command to set a job slot limit at the time of submission.
To set a job array job slot limit of 100 jobs for a job array of 1000
jobs:
bsub -J "job_array_name[1000]%100" myJob
Setting a job array slot limit after submission
Procedure
Use the bmod command to set a job slot limit after submission.
For example, to set a job array job slot limit of 100 jobs for an array with job ID
123:
bmod -J "%100" 123
Changing a job array job slot limit
About this task
Changing a job array job slot limit is the same as setting it after submission.
Procedure
Use the bmod command to change a job slot limit after submission.
For example, to change a job array job slot limit to 250 for a job array with job ID
123:
bmod -J "%250" 123
Viewing a job array job slot limit
Procedure
To view job array job slot limits use the -A and -l options of bjobs. The job array job slot limit is displayed in the Job Name field in the same format in which it was set.
For example, the following output displays the job array job slot limit of 100 for a job array
with job ID 123:
bjobs -A -l 123
Job <123>, Job Name <myArray[1-1000]%100>, User <user1>, Project <default>, Sta
tus <PEND>, Queue <normal>, Job Priority <20>, Command <my
Job>
Wed Feb 29 12:34:56 2010: Submitted from host <hostA>, CWD <$HOME>;
COUNTERS:
NJOBS PEND DONE RUN EXIT SSUSP USUSP PSUSP
10 9 0 1 0 0 0 0