Hp XC System 3.x Software Manuel d'utilisateur Page 116

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 133
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 115
A.4 Launching a Parallel Interactive Shell Through LSF-HPC
This section provides an example that shows how to launch a parallel interactive shell through LSF-HPC.
The bsub -Is command is used to launch an interactive shell through LSF-HPC. This example steps
through a series of commands that illustrate what occurs when you launch an interactive shell.
Examine the LSF execution host information:
$ bhosts
HOST_NAME STATUS JL/U MAX NJOBS RUN SSUSP USUSP RSV
lsfhost.localdomain ok - 12 0 0 0 0 0
Examine the partition information:
$ sinfo
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
lsf up infinite 6 idle n[5-10]
Examine the local host information:
$ hostname
n2
Examine the job information:
$ bjobs
No unfinished job found
Run the LSF bsub -Is command to launch the interactive shell:
$ bsub -Is -n4 -ext "SLURM[nodes=4]" /bin/bash
Job <124> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on lsfhost.localdomain>>
Note the output when hostname is again issued:
$ hostname
n16
Note the output when srun hostname is issued:
$ srun hostname
n5
n7
n6
n8
Note the output from the bjobs command:
$ bjobs
JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME
124 lsfad RUN normal n2 4*lsfhost.loc /bin/bash date and time
Examine the running job's information:
$ bhist -l 124
Job <124>, User <lsfadmin>, Project <default>,
Interactive pseudo-terminal shell mode,
Extsched <SLURM[nodes=4]>, Command </bin/bash>
116 Examples
Vue de la page 115
1 2 ... 111 112 113 114 115 116 117 118 119 120 121 ... 132 133

Commentaires sur ces manuels

Pas de commentaire