25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Submitting and Controlling Chunk Jobs<br />

WAIT status<br />

Chapter 24<br />

Chunk Job Dispatch<br />

When a job is submitted to a queue configured with the CHUNK_JOB_SIZE<br />

parameter, <strong>LSF</strong> attempts to place the job in an existing chunk. A job is added<br />

to an existing chunk if it has the same characteristics as the first job in the<br />

chunk:<br />

◆ Submitting user<br />

◆ Resource requirements<br />

◆ Host requirements<br />

◆ Queue<br />

If a suitable host is found to run the job, but there is no chunk available with<br />

the same characteristics, <strong>LSF</strong> creates a new chunk.<br />

Resources reserved for any member of the chunk are reserved at the time the<br />

chunk is dispatched and held until the whole chunk finishes running. Other<br />

jobs requiring the same resources are not dispatched until the chunk job is<br />

done.<br />

For example, if all jobs in the chunk require a software license, the license is<br />

checked out and each chunk job member uses it in turn. The license is not<br />

released until the last chunk job member is finished running.<br />

When sbatchd receives a chunk job, it will not start all member jobs at once.<br />

A chunk job occupies a single job slot. Even if other slots are available, the<br />

chunk job members must run one at a time in the job slot they occupy. The<br />

remaining jobs in the chunk that are waiting to run are displayed as WAIT by<br />

bjobs. Any jobs in WAIT status are included in the count of pending jobs by<br />

bqueues and busers. The bhosts command shows the single job slot<br />

occupied by the entire chunk job in the number of jobs shown in the NJOBS<br />

column.<br />

The bhist -l command shows jobs in WAIT status as Waiting ...<br />

The bjobs -l command does not display a WAIT reason in the list of pending<br />

jobs.<br />

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

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

Saved successfully!

Ooh no, something went wrong!