HP XC System Software Administration Guide Version 3.2

Table 16-4 describes the environment variables in the lsb.queues file that you can use to
enhance LSF-HPC with SLURM.
Table 16-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.
DEFAULT_EXTSCHED=
SLURM[options[;options]...]
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).
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.
MANDATORY_EXTSCHED=
SLURM[options[;options]...]
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]"
210 Managing LSF