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.

Limiting the Number of Processors Allocated<br />

Changing PROCLIMIT<br />

If you change the PROCLIMIT parameter, the new processor limit does not<br />

affect running jobs. Pending jobs with no processor requirements use the new<br />

default PROCLIMIT value. If the pending job does not satisfy the new<br />

processor limits for the queue, it remains in PEND state, and the pending<br />

reason changes to the following:<br />

Job no longer satisfies queue PROCLIMIT configuration<br />

If PROCLIMIT specification is incorrect (for example, too many parameters), a<br />

reconfiguration error message is issued. Reconfiguration proceeds and the<br />

incorrect PROCLIMIT is ignored.<br />

MultiCluster<br />

Jobs forwarded to a remote cluster are subject to the processor limits of the<br />

remote queues. Any processor limits specified on the local cluster are not<br />

applied to the remote job.<br />

Automatic queue selection<br />

Example<br />

When you submit a parallel job without specifying a queue name, <strong>LSF</strong><br />

automatically selects the most suitable queue from the queues listed in the<br />

DEFAULT_QUEUE parameter in lsb.params or the LSB_DEFAULTQUEUE<br />

environment variable. Automatic queue selection takes into account any<br />

maximum and minimum PROCLIMIT values for the queues available for<br />

automatic selection.<br />

If you specify -n min_proc,max_proc, but do not specify a queue, the first<br />

queue that satisfies the processor requirements of the job is used. If no queue<br />

satisfies the processor requirements, the job is rejected.<br />

For example, queues with the following PROCLIMIT values are defined in<br />

lsb.queues:<br />

◆ queueA with PROCLIMIT=1 1 1<br />

◆ queueB with PROCLIMIT=2 2 2<br />

◆ queueC with PROCLIMIT=4 4 4<br />

◆ queueD with PROCLIMIT=8 8 8<br />

◆ queueE with PROCLIMIT=16 16 16<br />

In lsb.params: DEFAULT_QUEUE=queueA queueB queueC queueD queueE<br />

For the following jobs:<br />

% bsub -n 8 myjob<br />

<strong>LSF</strong> automatically selects queueD to run myjob.<br />

% bsub -n 5 myjob<br />

Job myjob fails because no default queue has the correct number of<br />

processors.<br />

448<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!