25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 9<br />

Adding Resources<br />

Configuring lsf.cluster.cluster_name ResourceMap<br />

Section<br />

Example<br />

RESOURCENAME<br />

LOCATION<br />

Resources are associated with the hosts for which they are defined in the<br />

ResourceMap section of lsf.cluster.cluster_name.<br />

For each resource, you must specify the name and the hosts that have it.<br />

If the ResourceMap section is not defined, then any dynamic resources<br />

specified in lsf.shared are not tied to specific hosts, but are shared across<br />

all hosts in the cluster.<br />

A cluster consists of hosts host1, host2, and host3.<br />

Begin ResourceMap<br />

RESOURCENAME LOCATION<br />

verilog (5@[all ~host1 ~host2])<br />

synopsys (2@[host1 host2] 2@[others])<br />

console (1@[host1] 1@[host2]1@[host3])<br />

xyz<br />

(1@[default])<br />

End ResourceMap<br />

In this example:<br />

◆ 5 units of the verilog resource are defined on host3 only (all hosts<br />

except host1 and host2).<br />

◆ 2 units of the synopsys resource are shared between host1 and host2. 2<br />

more units of the synopsys resource are defined on host3 (shared among<br />

all the remaining hosts in the cluster).<br />

◆ 1 unit of the console resource is defined on each host in the cluster<br />

(assigned explicitly). 1 unit of the xyz resource is defined on each host in<br />

the cluster (assigned with the keyword default).<br />

The name of the resource, as defined in lsf.shared.<br />

Defines the hosts that share the resource. For a static resource, you must define<br />

an initial value here as well. Do not define a value for a dynamic resource.<br />

Possible states of a resource:<br />

◆ Each host in the cluster has the resource<br />

◆ The resource is shared by all hosts in the cluster<br />

◆ There are multiple instances of a resource within the cluster, and each<br />

instance is shared by a unique subset of hosts.<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 155

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!