HP XC System Software Administration Guide Version 3.1

Table 15-4 Environment Variables for LSF-HPC with SLURM Enhancement (lsb.queues File) (continued)
DescriptionEnvironment Variable
This specifies mandatory SLURM allocation options for the queue. The -ext
options of the bsub command are merged with MANDATORY_EXTSCHED options,
and MANDATORY_EXTSCHED options override any conflicting job-level options
set by the -ext option.
This setting overrides the -ext options of the bsub command. For example, if
MANDATORY_EXTSCHED=SLURM[contiguous=yes;tmp=200] and a job is
submitted with -ext "SLURM[nodes=3;tmp=100]", LSF uses the following
resulting options for scheduling:
"SLURM[nodes=3;contiguous=yes;tmp=200]"
You can use the MANDATORY_EXTSCHED environment variable in combination
with DEFAULT_EXTSCHED in the same queue. For example:
-ext "SLURM[nodes=3;tmp=]"
DEFAULT_EXTSCHED=SLURM[nodes=2;tmp=100]
MANDATORY_EXTSCHED=SLURM[contiguous=yes;tmp=200]
LSF-HPC with SLURM uses the resulting options for scheduling:
SLURM[nodes=3;contiguous=yes;tmp=200]
The nodes=3 specification in the -ext option overrides the nodes=2 specification
in DEFAULT_EXTSCHED, and tmp= in the -ext option overrides the tmp=100
setting in DEFAULT_EXTSCHED. MANDATORY_EXTSCHED adds contiguous=yes,
and overrides tmp= in -ext option and tmp=100 in DEFAULT_EXTSCHED with
tmp=200.
If you want to prevent users from setting allocation options in the -ext option
of the bsub command, use the keyword with no value. For example, if the job is
submitted with -ext "SLURM[nodes=4]", use MANDATORY_EXTSCHED=
RMS[nodes=] to override this setting.
For more information, see bsub(1).
15.14.2 Thresholds in LSF-HPC with SLURM and SLURM Interplay
When the HP XC system starts, some computer nodes may take a while to boot. If LSF-HPC with SLURM
starts to report the current number of processors before the system stabilizes, the smaller jobs that are
already queued are scheduled. It may be better to run a larger job requesting more processors.
Use the following parameters to control when LSF-HPC with SLURM starts to report total usable processors
on HP XC system:
DescriptionEnvironment Variable
The threshold parameter is the percentage of total usable
processors in LSF partition.
The default value is 80.
LSF_HPC_NCPU_THRESHOLD=threshold
This is the upper limit for the number of processors that changed
since the last checking cycle.
The default value is zero (0).
LSF_HPC_NCPU_INCREMENT=increment
The incr_cycles parameter is the minimum number of
consecutive cycles in which the number of processors changed
does not exceed LSF_HPC_NCPU_INCREMENT.
The default value is 1. LSF-HPC with SLURM examines total
usable processors every 2 minutes.
LSF_HPC_NCPU_INCR_CYCLES=incr_cycles
This setting defines how two thresholds are combined. The only
valid values are and and or.
The default is or.
LSF_HPC_NCPU_COND= or | and
196 Managing LSF