LSF Version 7.3 - Using Platform LSF HPC

-extsched options on the bsub command are merged with
MANDATORY_EXTSCHED options, and MANDATORY_EXTSCHED options
override any conflicting job-level options set by
-extsched.
For example, if the queue specifies:
MANDATORY_EXTSCHED=CPUSET[CPUSET_TYPE=dynamic;
MAX_CPU_PER_NODE=2
]
and a job is submitted with:
-extsched "CPUSET[
MAX_CPU_PER_NODE=4
;CPU_LIST=1,5,7-12;]"
LSF uses the resulting external scheduler options for scheduling:
CPUSET[CPUSET_TYPE=dynamic;
MAX_CPU_PER_NODE=2;
CPU_LIST=1, 5, 7-12]
MANDATORY_EXTSCHED can be used in combination with
DEFAULT_EXTSCHED in the same queue. For example, if the job specifies:
-extsched "CPUSET[CPU_LIST=1,5,7-12;MAX_CPU_PER_NODE=4]"
and the queue specifies:
Begin Queue
...
DEFAULT_EXTSCHED=CPUSET[CPUSET_OPTIONS=CPUSET_CPU_EXCLUSIVE]
MANDATORY_EXTSCHED=CPUSET[CPUSET_TYPE=dynamic;MAX_CPU_PER_NODE=2]
...
End Queue
LSF uses the resulting external scheduler options for scheduling:
CPUSET[CPUSET_TYPE=dynamic;
MAX_CPU_PER_NODE=2;
CPU_LIST=1, 5,
7-12;CPUSET_OPTIONS=CPUSET_CPU_EXCLUSIVE]
If you want to prevent users from setting certain cpuset options in the -extsched
option of
bsub, use the keyword with no value. For example, if the job is submitted with
-extsched "CPUSET[MAX_RADIUS=2]", use
MANDATORY_EXTSCHED=CPUSET[MAX_RADIUS=] to override this setting.
See “Specifying cpuset properties for jobs” on page 136 for more information about
external scheduling options.
The options set by -extsched can be combined with the queue-level
MANDATORY_EXTSCHED or DEFAULT_EXTSCHED parameters. If
-extsched and MANDATORY_EXTSCHED set the same option, the
MANDATORY_EXTSCHED setting is used. If
-extsched and
DEFAULT_EXTSCHED set the same options, the
-extsched setting is used.
topology scheduling options are applied in the following priority order of level from
highest to lowest:
Queue-level MANDATORY_EXTSCHED options override ...
Job level -ext options, which override ...
Queue-level DEFAULT_EXTSCHED options
For example, if the queue specifies:
DEFAULT_EXTSCHED=CPUSET[MAX_CPU_PER_NODE=2]
and the job is submitted with:
bsub -n 4 -ext "CPUSET[MAX_CPU_PER_NODE=1]" myjob