LSF Version 7.3 - Platform LSF Configuration Reference
Example ResourceMap section
Begin ResourceMap
RESOURCENAME LOCATION
verilog (5@[all])
local ([host1 host2] [others])
End ResourceMap
The resource verilog must already be defined in the RESOURCE section of the
lsf.shared file. It is a static numeric resource shared by all hosts. The value for verilog is
5. The resource local is a numeric shared resource that contains two instances in the cluster.
The first instance is shared by two machines, host1 and host2. The second instance is shared
by all other hosts.
Resources defined in the ResourceMap section can be viewed by using the -s option of the
lshosts (for static resource) and lsload (for dynamic resource) commands.
LOCATION
Description
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.
instance is a list of host names that share an instance of the resource. The reserved words all,
others, and default can be specified for the instance:
all — Indicates that there is only one instance of the resource in the whole cluster and that this
resource is shared by all of the hosts
Use the not operator (~) to exclude hosts from the all specification. For example:
(2@[all ~host3 ~host4])
means that 2 units of the resource are shared by all server hosts in the cluster made up of
host1 host2 ... hostn, except for host3 and host4. This is useful if you have a large
cluster but only want to exclude a few hosts.
The parentheses are required in the specification. The not operator can only be used with the
all keyword. It is not valid with the keywords others and default.
others — Indicates that the rest of the server hosts not explicitly listed in the LOCATION field
comprise one instance of the resource
For example:
2@[host1] 4@[others]
indicates that there are 2 units of the resource on host1 and 4 units of the resource shared by
all other hosts.
default — Indicates an instance of a resource on each host in the cluster
This specifies a special case where the resource is in effect not shared and is local to every host.
default means at each host. Normally, you should not need to use default, because by default
all resources are local to each host. You might want to use ResourceMap for a non-shared
static resource if you need to specify different values for the resource on different hosts.
lsf.cluster
Platform LSF Configuration Reference 385