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.

Span String<br />

Span String<br />

Syntax<br />

A span string specifies the locality of a parallel job. If span is omitted, <strong>LSF</strong><br />

allocates the required processors for the job from the available set of<br />

processors.<br />

Two kinds of span string are supported:<br />

◆ span[hosts=1]<br />

Indicates that all the processors allocated to this job must be on the same<br />

host.<br />

◆ span[ptile=value]<br />

Indicates the number of processors on each host that should be allocated<br />

to the job.<br />

where value is:<br />

❖<br />

❖<br />

Default ptile value, specified by n processors. For example:<br />

span[ptile=4]<br />

The job requests 4 processors on each available host, regardless of how<br />

many processors the host has.<br />

Predefined ptile value, specified by ’!’. For example:<br />

span[ptile='!']<br />

uses the predefined maximum job slot limit lsb.hosts (MXJ per host<br />

type/model) as its value.<br />

If the host or host type/model does not define MXJ, the default predefined<br />

ptile value is 1.<br />

❖ Predefined ptile value with optional multiple ptile values, per host<br />

type or host model:<br />

✧ For host type, you must specify same[type] in the resource<br />

requirement. For example:<br />

span[ptile='!',HP:8,SGI:8,LINUX:2] same[type]<br />

The job requests 8 processors on a host of type HP or SGI, and 2<br />

processors on a host of type LINUX, and the predefined maximum<br />

job slot limit in lsb.hosts (MXJ) for other host types.<br />

✧ For host model, you must specify same[model] in the resource<br />

requirement. For example:<br />

span[ptile='!',PC1133:4,PC233:2] same[model]<br />

The job requests 4 processors on hosts of model PC1133, and 2<br />

processors on hosts of model PC233, and the predefined maximum<br />

job slot limit in lsb.hosts (MXJ) for other host models.<br />

See “Controlling Processor Allocation Across Hosts” on page 441 for more<br />

information about specifying span strings.<br />

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