
•TheLSFlshosts command displays machine-specific informatio n fo r the LSF executi on
host node.
$ lshosts
Refer to Section 7.3.2 for more info rm a tion about using this command and a sample of
its output.
•TheLSFlsload com mand displays load information for the LSF execution host node.
$ lsload
Refer to Section 7.3.3 for more info rm a tion about using this command and a sample of
its output.
2.3.4 Getting Information About the System’s Partitions
Information about the system’s partit ion s can be viewed with the SLURM sinfo command.
The sinfo command reports the state of all partitions and nodes managed by SLUR M and
provides a wide variety of filter in g, sorti ng, and formattin g optio ns. sinfo displays a summary
of available partition and node (not job) information such as partition names, nodes/partition,
and CPUs/node).
$ sinfo
Refer to Section 7.3.5 for more information about using the sinfo command and a sample of
its output.
2.3.5 Launching Jobs
To launch a job on an HP XC system, use the LSF bsub command. The bsub command
submits batch jobs or interactive batch jobs to an LSF queue for execution.
This section provides s om e brief examples of how to launch some typical serial and parallel
jobs. Refer to Section 7.4 for f ull information about launching jo bs with the bsub command.
2.3.5.1 Submitting a Serial Job
Submitting serial jobs is discussed in d etail in Section 7.4.3. The command format to submit
aserialjobis:
bsub [bsub-options][srun [srun-options ]]executable [executable-options]
Use the LSF bsub command to submit a job on the LSF-HPC execution hos t. The SL URM
srun job launch com mand is only needed if the LS F -HP C JOB_STARTER script is
not configured for the intended queue (b ut can be used regardless of whether or not the
script is configured). You can use t he bqueues command to confirm whether or not the
JOB_STARTER script exists.The executable parameter is the name of an executable f ile or
command.
The use of srun isdiscussedindetailinChapter6.
Consider an H P XC configuration where lsfhost.localdomain is the LSF execution
host, and nodes n[1-10] are compute nodes in the LSF partition. All nodes contain two
processors, providing 20 processors for use by LSF jobs. The following example shows one
waytosubmitaserialjobonthissystem:
Example 2-1: Submitting a Serial Job
$ bsub -I srun hostname
Job <20> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on lsfhost.localdomain>>
n1
2-8 Using the System
Commentaires sur ces manuels