4 checking lsf system queues, 5 getting information about the lsf partition, 4 submitting jobs – HP XC System 2.x Software User Manual
Page 93: Section 7.3.4, Section 7.3.5, Section 7.4, Section 7.4)
See the
OUTPUT
section of the
lsload
manpage for further information about the output of
this example. In addition, refer to the Platform Computing Corporation LSF documentation and
the
lsload
manpage for more information about the features of this command.
7.3.4 Checking LSF System Queues
All jobs on the HP XC system that are submitted to LSF-HPC are placed into an LSF job
queue.HP recommends that you check the status and availability of LSF system queues before
launching a job so that you can select the most appropriate queue for your job.
You can easily check the status, limits, and configurations of LSF queues with the
bqueues
command. This command is fully described in Platform Computing Corporation’s LSF
documentation and manpages.
See the
bsub
(1)
manpage for more information on submitting jobs to specific queues.
Refer to the
bqueues
manpage for further information about this command.
The
bparams
command displays a list of the current default queues configured for the system.
See the
bparams
(1)
manpage for more details.
7.3.5 Getting Information About the
lsf
Partition
Information about the SLURM
lsf
compute node partition can be viewed with the SLURM
sinfo
command. A partition is one or more compute nodes that have been grouped together.
A SLURM
lsf
partition is created when the HP XC system is installed. This partition contains
the resources that will be managed by LSF-HPC and available for jobs submitted to LSF-HPC.
The
sinfo
command reports the state of the
lsf
partition and all other partitions on the
system. The
sinfo
command displays a summary of available partition and node information
such as partition names, nodes/partition, and CPUs/node). It has a wide variety of filtering,
sorting, and formatting options.
The following example shows the use of the
sinfo
command to obtain
lsf
partition
information:
$ sinfo -p lsf
PARTITION AVAIL TIMELIMIT NODES
STATE NODELIST
lsf
up
infinite
128
idle n[1-128]
Use the following command to obtain more information on the nodes in the
lsf
partition:
$ sinfo -p lsf -lNe
NODELIST
NODES PARTITION STATE CPUS MEMORY TMP_DISK WEIGHT FEATURES REASON
n[1-128]
128
lsf
idle
2
3456
1
1
(null) none
Refer to the
sinfo
(1)
manpage and Chapter 6 for further information about using the
sinfo
command.
7.4 Submitting Jobs
The
bsub
command submits jobs to the LSF-HPC.
This section discusses how you can use the
bsub
command on the HP XC system with
LSF-HPC to launch a variety of applications. This section focuses on enhancements to the
bsub
command from the LSF-HPC integration with SLURM on the HP XC system; this
section does not discuss standard
bsub
functionality or flexibility. See the Platform LSF
documentation and the
bsub
(1)
manpage for more information on this important command.
The
bsub
command and its options, including the external SLURM scheduler is used to
request a set of resources on which to launch a job. See Section 7.1.2 for an introduction and
Section 7.4.1 for additional information. The arguments to he
bsub
command consist of the
user job and its arguments. The
bsub
options allow you to provide information on the amount
and type of resources needed by the job.
Using LSF
7-9