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.

Specifying a Minimum and Maximum Number of Processors<br />

Specifying a Minimum and Maximum Number of<br />

Processors<br />

Syntax<br />

Example<br />

When submitting a parallel job, you can also specify a minimum number and<br />

a maximum number of processors.<br />

If you specify a maximum and minimum number of processors, the job will<br />

start as soon as the minimum number of processors is available, but it will use<br />

up to the maximum number of processors, depending on how many<br />

processors are available at the time. Once the job starts running, no more<br />

processors will be allocated to it even though more may be available later on.<br />

Jobs that request fewer processors than the minimum PROCLIMIT defined for<br />

the queue to which the job is submitted, or more processors than the maximum<br />

PROCLIMIT cannot use the queue and are rejected. If the job requests<br />

minimum and maximum processors, the maximum requested cannot be less<br />

than the minimum PROCLIMIT, and the minimum requested cannot be more<br />

than the maximum PROCLIMIT.<br />

bsub -n min_proc[,max_proc]<br />

% bsub -n 4,16 myjob<br />

At most, 16 processors can be allocated to this job. If there are less than 16<br />

processors eligible to run the job, this job can still be started as long as the<br />

number of eligible processors is greater than or equal to 4.<br />

438<br />

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

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

Saved successfully!

Ooh no, something went wrong!