Configure 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, specify the name (RESOURCENAME) and the hosts that have it (LOCATION).
Note:

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.

Most resources specified in the ResourceMap section are interpreted by LSF commands as shared resources, which are displayed using lsload -s or lshosts -s.

The exceptions are:

  • Non-shared static resources

  • Dynamic numeric resources specified using the default keyword. These are host-based resources and behave like the built-in load indices such as mem and swp. They are viewed using lsload -l or lsload -I.

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).

Restriction:

For Solaris machines, the keyword int is reserved.

Resources required for JSDL

To submit jobs using JSDL files, you must uncomment the following lines:
RESOURCENAME   LOCATION
osname         [default]
osver          [default]
cpuarch        [default]
cpuspeed       [default]
bandwidth      [default]