Hp XC System 2.x Software Manuel d'utilisateur Page 101

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 154
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 100
The following example shows this resource requirement string in an LSF command :
$ bsub -R "type=SLINUX64" -n4 -I srun hostname
7.5 Getting Information About Jobs
There are several ways you can get information about a specific job after it has been submitted to
LSF. This section briefly describes some of t he commands that are available under LSF to gather
information about a job. This section is not intended as complete info rmation about this topic. It
is intended o nly to give you an idea of the commands that are c om m only used, and to describe
any differences there m ay be in the way these commands operate in the HP XC environment.
Refer to the LSF man pages for full inform ation about the commands described in this section.
The following LSF commands are described in this section:
bjobs
Checks the status of a running job (Section 7 .5.2)
bhist
Gets brief or full information about running or finished jo bs
(Section 7.5.3)
7.5.1 Getting Job Allocation Information
Before a job runs, LSF allocates SLURM compute nodes based on job resource requirements.
After LSF allocates nodes for a job, it attaches allocation information to the job . You can view
job allocation information th rou gh the bjobs -l and bhist -l commands. Refer to the
LSF manpages for details about using these commands.
A job allocation information string looks like the following:
slurm_id=slurm_jobid;ncpus=slurm_nprocs;slurm_alloc=node_list
This allocation string has t he following values:
slurm_id
SLURM_JOBID environment variable. This is SLURM allocation
ID (Associates LSF job with SLURM allocated resources.)
ncpus
SLURM_NPROCS environment variable. This th e actual number
of allocated CPUs. Under node-level allocation scheduling, this
number may be bigger than what the job requests.)
slurm_alloc
Allocated node list (comma separated).
When LSF starts a job, L S F sets the SLURM_JOBID and SLURM_NPROCS environment
variables.
7.5.1.1 Job Allocation Information for a Running Job
The following is an ex amp le of the output obtained usin g the bjobs -l com mand to obtain
job allocation information about a running job:
$ bjobs -l 24
Job <24>, User <lsfadmin>, Project <default>,
Status <RUN>, Queue <normal>,
Interactive pseudo-terminal shell mode,
Extsched <SLURM[nodes=4]>, Command </bin/bash>
date and time stamp: Submitted from host <n2>, CWD <$HOME>,
4 Processors Requested, Requested Resources <type=any>;
date and time stamp: Started on 4 Hosts/Processors <4*lsfhost.localdomain>;
date and time stamp: slurm_id=22;ncpus=8;slurm_alloc=n[5-8];
SCHEDULING PARAMETERS:
r15s r1m r15m ut pg io ls it tmp swp mem
loadSched - - - - ---- -- -
loadStop - - - - ---- -- -
Using LSF 7-17
Vue de la page 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 153 154

Commentaires sur ces manuels

Pas de commentaire