Examine the lsf execution host information, Examine the partition information, Examine the local host information – HP XC System 4.x Software User Manual
Page 118: Examine the job information, Examine the running job's information
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
<
<
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
Interactive pseudo-terminal shell mode,
Extsched
date and time stamp: Submitted from host
to Queue
Requested Resources
date and time stamp: Dispatched to 4 Hosts/Processors
<4*lsfhost.localdomain>;
date and time stamp: slurm_id=22;ncpus=8;slurm_alloc=n[5-8];
date and time stamp: Starting (Pid 4785);
118
Examples