LSF Version 7.3 - Administering Platform LSF
Selection String
284 Administering Platform LSF
By default, memory (mem) and swap (swp) limits in select[] and rusage[]
sections are specified in MB. Use LSF_UNIT_FOR_LIMITS in
lsf.conf to specify
a larger unit for the these limits (MB, GB, TB, PB, or EB).
How queue-level and job-level requirements are resolved
If job-level resource requirements are specified together with queue-level resource
requirements:
◆ In a select string, a host must satisfy both queue-level and job-level
requirements for the job to be dispatched.
◆ order and span sections defined at the queue level are ignored if different
order and span requirements are specified at the job level. The default order
string is
r15s:pg.
◆ For usage strings, the rusage section defined for the job overrides the rusage
section defined in the queue. The two
rusage definitions are merged, with the
job-level
rusage taking precedence.
For internal load indices and duration, jobs are rejected if they specify resource
reservation requirements that exceed the requirements specified at the queue level.
In application
profiles
See Chapter 21, “Working with Application Profiles” for information about how
resource requirements in application profiles are resolved with queue-level and
job-level resource requirements.
Selection String
The selection string specifies the characteristics a host must have to match the
resource requirement. It is a logical expression built from a set of resource names.
The selection string is evaluated for each host; if the result is non-zero, then that
host is selected.
Syntax
The selection string can combine resource names with logical and arithmetic
operators. Non-zero arithmetic values are treated as logical TRUE, and zero (0) as
logical FALSE. Boolean resources (for example,
server to denote LSF server hosts)
have a value of one (1) if they are defined for a host, and zero (0) if they are not
defined for the host.
The resource names
swap, idle, login, and cpu are accepted as aliases for swp, it,
ls, and r1m respectively.
For
ut, specify the percentage CPU utilization as an integer between 0-100.
For the string resources
type and model, the special value any selects any value and
local selects the same value as that of the local host. For example, type==local
selects hosts of the same type as the host submitting the job. If a job can run on any
type of host, include
type==any in the resource requirements.
If no
type is specified, the default depends on the command. For bsub, lsplace,
lsrun, and lsgrun the default is type==local unless a string or Boolean resource
is specified, in which case it is
type==any. For lshosts, lsload, lsmon and
lslogin the default is type==any.