LSF Version 7.3 - Administering Platform LSF

Administering Platform LSF 293
Specifying Resource Requirements
For host type, you must specify same[type] in the resource requirement.
In the following example, the job requests 8 processors on a host of type
HP
or
SGI, and 2 processors on a host of type LINUX, and the predefined
maximum job slot limit in
lsb.hosts (MXJ) for other host types:
span[ptile='!',HP:8,SGI:8,LINUX:2] same[type]
For host model, you must specify same[model] in the resource
requirement. In the following example, the job requests 4 processors on
hosts of model
PC1133, and 2 processors on hosts of model PC233, and the
predefined maximum job slot limit in
lsb.hosts (MXJ) for other host
models:
span[ptile='!',PC1133:4,PC233:2] same[model]
span[hosts=-1] Disables span setting in the queue. LSF allocates the required processors for the job
from the available set of processors.
See Controlling Processor Allocation Across Hosts on page 504 for more
information about specifying
span strings.
Same String
TIP: You must have the parallel batch job scheduler plugin installed in order to use the same
string.
Parallel jobs run on multiple hosts. If your cluster has heterogeneous hosts, some
processes from a parallel job may for example, run on Solaris and some on SGI
IRIX. However, for performance reasons you may want all processes of a job to run
on the same type of host instead of having some processes run on one type of host
and others on another type of host.
The same string specifies that all processes of a parallel job must run on hosts with
the same resource.
You can specify the same string:
At the job level in the resource requirement string of:
bsub
bmod
At the queue-level in lsb.queues in the RES_REQ parameter.
When both queue-level and job-level
same sections are defined, LSF combines both
requirements to allocate processors.
Syntax
resource_name[:resource_name]...
You can specify any static resource.
For example, if you specify
resource1:resource2, if hosts always have both
resources, the string is interpreted as allocate processors only on hosts that have the
same value for
resource1 and the same value for resource2.