LSF Version 7.3 - Administering Platform LSF
Administering Platform LSF 257
Adding Resources
Configuring lsf.cluster.cluster_name ResourceMap Section
Resources are associated with the hosts for which they are defined in the
ResourceMap section of lsf.cluster.cluster_name.
For each resource, you must specify the name and the hosts that have it.
If the
ResourceMap section is not defined, then any dynamic resources specified in
lsf.shared are not tied to specific hosts, but are shared across all hosts in the
cluster.
Example
A cluster consists of hosts host1, host2, and host3.
Begin ResourceMap
RESOURCENAME LOCATION
verilog (5@[all ~host1 ~host2])
synopsys (2@[host1 host2] 2@[others])
console (1@[host1] 1@[host2] 1@[host3])
xyz (1@[default])
End ResourceMap
In this example:
◆ 5 units of the verilog resource are defined on host3 only (all hosts except
host1 and host2).
◆ 2 units of the synopsys resource are shared between host1 and host2. 2 more
units of the
synopsys resource are defined on host3 (shared among all the
remaining hosts in the cluster).
◆ 1 unit of the console resource is defined on each host in the cluster (assigned
explicitly). 1 unit of the
xyz resource is defined on each host in the cluster
(assigned with the keyword default).
Resources required for JSDL
If you plan to submit jobs using JSDL files, you must uncomment the following
lines:
RESOURCENAME LOCATION
osname [default]
osver [default]
cpuarch [default]
cpuspeed [default]
bandwidth [default]
RESOURCENAME
The name of the resource, as defined in lsf.shared.
LOCATION
Defines the hosts that share the resource. For a static resource, you must define an
initial value here as well. Do not define a value for a dynamic resource.
Possible states of a resource: