HP XC System Software Administration Guide Version 3.1
Table 15-4 Environment Variables for LSF-HPC with SLURM Enhancement (lsb.queues File)
DescriptionEnvironment Variable
This entry specifies SLURM allocation options for the queue.
The -ext options to the bsub command are merged with DEFAULT_EXTSCHED
options, and -ext options override any conflicting queue-level options set by
DEFAULT_EXTSCHED.
For example, if DEFAULT_EXTSCHED=SLURM[nodes=2;tmp=100] and a job is
submitted with -ext "SLURM[nodes=3;tmp=]", LSF-HPC with SLURM uses
the following resulting options for scheduling:
SLURM[nodes=3]
The nodes=3 specification in the -ext option overrides the nodes=2 setting in
DEFAULT_EXTSCHED, and the tmp= assignment in the -ext option overrides the
tmp=100 setting in DEFAULT_EXTSCHED.
You can use the DEFAULT_EXTSCHED environment variable in combination with
MANDATORY_EXTSCHED environment variable 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 setting in
DEFAULT_EXTSCHED, and the tmp= specification in the -ext option overrides
the tmp=100 setting in DEFAULT_EXTSCHED. MANDATORY_EXTSCHED adds the
contiguous=yes setting, and overrides the tmp= in the -ext option and
tmp=100 in DEFAULT_EXTSCHED with tmp=200.
If allocation options are set in DEFAULT_EXTSCHED, and you do not want to
specify values for these options, use the keyword with no value in the -ext option
of the bsub command. For example, if DEFAULT_EXTSCHED=SLURM[nodes=
2], and you do not want to specify any node option at all, use -ext
"SLURM[nodes=]".
For more information, see bsub(1).
DEFAULT_EXTSCHED=
SLURM[options[;options]...]
MANDATORY_EXTSCHED=
SLURM[options[;options]...]
15.14 Enhancing LSF-HPC with SLURM 195