Platform LSF Administration Guide Version 6.2

Chapter 10
Adding Resources
Administering Platform LSF
219
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).
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:
Each host in the cluster has the resource
The resource is shared by all hosts in the cluster
There are multiple instances of a resource within the cluster, and each instance is
shared by a unique subset of hosts.
Syntax
(
[
resource_value@
]
[host_name... | all [~host_name]... | others | default]
...
)
For static resources, you must include the resource value, which indicates the
quantity of the resource. Do not specify the resource value for dynamic resources
because information about dynamic resources is updated by ELIM.