LSF Version 7.3 - Administering Platform LSF

Administering Platform LSF 281
Specifying Resource Requirements
loadStop The suspending condition that determines when running jobs should be
suspended.
Thresholds can be configured for each queue, for each host, or a combination of
both. To schedule a job on a host, the load levels on that host must satisfy both the
thresholds configured for that host and the thresholds for the queue from which the
job is being dispatched.
The value of a load index may either increase or decrease with load, depending on
the meaning of the specific load index. Therefore, when comparing the host load
conditions with the threshold values, you need to use either greater than (>) or less
than (<), depending on the load index.
See Chapter 35, “Load Thresholds for information about suspending conditions
and configuring load thresholds.
View queue-level resource requirements
1 Use bqueues -l to view resource requirements (RES_REQ) defined for the
queue:
bqueues -l normal
QUEUE: normal
-- No description provided. This is the default queue.
...
RES_REQ: select[type==any]
rusage[mem=10,dynamic_rsrc=10:duration=2:decay=1]
...
Job-level Resource Requirements
Each job can specify resource requirements. Job-level resource requirements
override any resource requirements specified in the remote task list.
In some cases, the queue specification sets an upper or lower bound on a resource.
If you attempt to exceed that bound, your job will be rejected.
Syntax
To specify resource requirements for your job, use bsub -R and specify the
resource requirement string as usual. You can specify multiple
-R order, same,
rusage, and select sections.
TIP: With esub, you must use the && operator to specify multiple resource requirements. The
LSB_SUB_RES_REQ variable in esub does not support the use of multiple -R sections.
Examples
bsub -R "swp > 15 && hpux order[ut]" myjob
or
bsub -R "select[swp > 15]" -R "select[hpux] order[ut]" myjob