LSF Version 7.3 - Administering Platform LSF

Usage String
288 Administering Platform LSF
Syntax
[-]resource_name [:[-]resource_name]...
You can specify any built-in or external load index.
When an index name is preceded by a minus sign ‘-’, the sorting order is reversed
so that hosts are ordered from worst to best on that index.
Specifying multiple -R options
bsub accepts multiple -R options for the order section. You can specify multiple
resource requirement strings instead of using the && operator. For example:
bsub -R "order[r15m]" -R "order[ut]"
LSF merges the multiple -R options into one string and dispatches the job if all of
the resource requirements can be met. By allowing multiple resource requirement
strings and automatically merging them into one string, LSF simplifies the use of
multiple layers of wrapper scripts.
Default
The default sorting order is r15s:pg (except for lslogin(1): ls:r1m).
Example
swp:r1m:tmp:r15s
Usage String
This string defines the expected resource usage of the job. It is used to specify
resource reservations for jobs, or for mapping jobs on to hosts and adjusting the
load when running interactive jobs.
By default, no resources are reserved.
When LSF_STRICT_RESREQ=Y in
lsf.conf, LSF rejects resource requirement
strings where an rusage section contains a non-consumable resource
Batch jobs
The resource usage (rusage) section can be specified at the job level, with the queue
configuration parameter RES_REQ, or the application profile parameter
RES_REQ.
Syntax rusage[usage_string [, usage_string][|| usage_string] ...]
where usage_string is:
load_index=value [:load_index=value]... [:duration=minutes[m] |
:duration=hoursh | :duration=secondss [:decay=0 | :decay=1]]
Load index Internal and external load indices are considered in the resource usage string. The
resource value represents the initial reserved amount of the resource.
Duration The duration is the time period within which the specified resources should be
reserved. Specify a duration equal to or greater than the ELIM updating interval.
If the value is followed by the letter s, m, or h, the specified time is measured in
seconds, minutes, or hours respectively.