Platform LSF Administration Guide Version 6.2

Limiting the Number of Processors Allocated
Administering Platform LSF
444
Examples
Maximum
processor limit
PROCLIMIT is specified in the default queue in lsb.queues as:
PROCLIMIT = 3
The maximum number of processors that can be allocated for this queue is 3.
Minimum and
maximum
processor limits
PROCLIMIT is specified in lsb.queues as:
PROCLIMIT = 3 8
The minimum number of processors that can be allocated for this queue is 3 and the
maximum number of processors that can be allocated for this queue is 8.
Minimum, default,
and maximum
processor limits
PROCLIMIT is specified in lsb.queues as:
PROCLIMIT = 4 6 9
Minimum number of processors that can be allocated for this queue is 4
Default number of processors for the queue is 6
Maximum number of processors that can be allocated for this queue is 9
Example Description
%
bsub -n 2 myjob
The job myjob runs on 2 processors.
%
bsub -n 4 myjob
The job myjob is rejected from the queue because it requires more than the
maximum number of processors configured for the queue (3).
%
bsub -n 2,3 myjob
The job myjob runs on 2 or 3 processors.
%
bsub -n 2,5 myjob
The job myjob runs on 2 or 3 processors, depending on how many slots are
currently available on the host.
%
bsub myjob
No default or minimum is configured, so the job myjob runs on 1 processor.
Example Description
%
bsub -n 5 myjob
The job myjob runs on 5 processors.
%
bsub -n 2 myjob
The job myjob is rejected from the queue because the number of processors
requested is less than the minimum number of processors configured for the
queue (3).
%
bsub -n 4,5 myjob
The job myjob runs on 4 or 5 processors.
%
bsub -n 2,6 myjob
The job myjob runs on 3 to 6 processors.
%
bsub -n 4,9 myjob
The job myjob runs on 4 to 8 processors.
%
bsub myjob
The default number of processors is equal to the minimum number (3). The
job
myjob runs on 3 processors.
Example Description
%
bsub myjob
Because a default number of processors is configured, the job myjob runs on
6 processors.