25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 34<br />

Running Parallel Jobs<br />

Examples<br />

Maximum<br />

processor limit<br />

PROCLIMIT is specified in the default queue in lsb.queues as:<br />

PROCLIMIT = 3<br />

The maximum number of processors that can be allocated for this queue is 3.<br />

Example<br />

Minimum and<br />

maximum<br />

processor limits<br />

Minimum, default,<br />

and maximum<br />

processor limits<br />

Description<br />

% bsub -n 2 myjob The job myjob runs on 2 processors.<br />

% bsub -n 4 myjob The job myjob is rejected from the queue because it requires more<br />

than the maximum number of processors configured for the queue (3).<br />

% bsub -n 2,3 myjob The job myjob runs on 2 or 3 processors.<br />

% bsub -n 2,5 myjob The job myjob runs on 2 or 3 processors, depending on how many<br />

slots are currently available on the host.<br />

% bsub myjob No default or minimum is configured, so the job myjob runs on 1<br />

processor.<br />

Example<br />

PROCLIMIT is specified in lsb.queues as:<br />

PROCLIMIT = 3 8<br />

The minimum number of processors that can be allocated for this queue is 3<br />

and the maximum number of processors that can be allocated for this queue<br />

is 8.<br />

Description<br />

% bsub -n 5 myjob The job myjob runs on 5 processors.<br />

% bsub -n 2 myjob The job myjob is rejected from the queue because the number of<br />

processors requested is less than the minimum number of processors<br />

configured for the queue (3).<br />

% bsub -n 4,5 The job myjob runs on 4 or 5 processors.<br />

myjob<br />

% bsub -n 2,6 The job myjob runs on 3 to 6 processors.<br />

myjob<br />

% bsub -n 4,9 The job myjob runs on 4 to 8 processors.<br />

myjob<br />

% bsub myjob The default number of processors is equal to the minimum number (3).<br />

The job myjob runs on 3 processors.<br />

Example<br />

PROCLIMIT is specified in lsb.queues as:<br />

PROCLIMIT = 4 6 9<br />

◆ Minimum number of processors that can be allocated for this queue is 4<br />

◆ Default number of processors for the queue is 6<br />

◆ Maximum number of processors that can be allocated for this queue is 9<br />

Description<br />

% bsub myjob Because a default number of processors is configured, the job myjob<br />

runs on 6 processors.<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 449

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!