LSF Version 7.3 - Administering Platform LSF
Limiting the Number of Processors Allocated
508 Administering Platform LSF
This example reflects a network in which network connections among hosts in the
same group are high-speed, and network connections between host groups are
low-speed.
In order to specify this, you create a custom resource
hgconnect in lsf.shared.
Begin Resource
RESOURCENAME TYPE INTERVAL INCREASING RELEASE DESCRIPTION
hgconnect STRING () () () (OS release)
...
End Resource
In the lsf.cluster.cluster_name file, identify groups of hosts that share
high-speed connections.
Begin ResourceMap
RESOURCENAME LOCATION
hgconnect (hg1@[hostA hostB] hg2@[hostD hostE] hg3@[hostF hostG hostX])
End ResourceMap
If you want to specify the same resource requirement at the queue-level, define a
custom resource in
lsf.shared as in the previous example, map hosts to
high-speed connection groups in
lsf.cluster.cluster_name, and define the
following queue in
lsb.queues:
Begin Queue
QUEUE_NAME = My_test
PRIORITY = 30
NICE = 20
RES_REQ = "select[mem > 1000 && type==any && (hgconnect==hg1 ||
hgconnect==hg2 || hgconnect=hg3)]same[hgconnect:type]"
DESCRIPTION = either hg1 or hg2 or hg3
End Queue
This example allocates processors on hosts that:
◆ Have more than 1000 MB in memory
◆ Are of the same host type
◆ Are in high-speed connection group hg1 or hg2 or hg3
Limiting the Number of Processors Allocated
Use the PROCLIMIT parameter in lsb.queues or lsb.applications to limit the
number of processors that can be allocated to a parallel job.
◆ Syntax on page 508
◆ How PROCLIMIT affects submission of parallel jobs on page 509
◆ Changing PROCLIMIT on page 509
◆ MultiCluster on page 509
◆ Automatic queue selection on page 509
◆ Examples on page 510
Syntax
PROCLIMIT = [minimum_limit [default_limit]] maximum_limit
All limits must be positive numbers greater than or equal to 1 that satisfy the
following relationship: