HP XC System Software Administration Guide Version 3.0

Table 13-4. Environment Variables for LSF-HPC Enhancement (lsb.queues File) Environment Variables
for LSF-HPC 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 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 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]...]
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 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).
MANDATORY_EXTSCHED=
SLURM[options[;options]...]
134 Managing LSF