A.7 submitting an hp-mpi job with lsf – HP XC System 2.x Software User Manual

Page 141

Advertising
background image

Run some commands from the pseudo-terminal:

$ srun hostname

n13

n13

n14

n14

n15

n15

n16

n16

$ srun -n3 hostname

n13

n14

n15

Exit the pseudo-terminal:

$ exit

exit

View the interactive jobs:

$ bjobs -l 1008

Job <1008>, User smith, Project <default>, Status <DONE>, Queue <normal>,

Interactive pseudo-terminal mode, Command </bin/sh>

date and time stamp: Submitted from host n16,

CWD <$HOME/tar_drop1/test>, 8 Processors Requested;

date and time stamp: Started on 8Hosts/Processors<8*lsfhost.localdomain>;

date and time stamp: slurm_id=74;ncpus=8;slurm_alloc=n16,n14,n13,n15;

date and time stamp: Done successfully. The CPU time used is 0.1 seconds.

SCHEDULING PARAMETERS:

r15s

r1m

r15m

ut

pg

io

ls

it

tmp

swp

mem

loadSched

-

-

-

-

-

-

-

-

-

-

-

loadStop

-

-

-

-

-

-

-

-

-

-

-

View the finished jobs:

$ bhist -l 1008

Job <1008>, User smith, Project <default>,

Interactive pseudo-terminal mode, Command </bin/sh>

date and time stamp: Submitted from host n16, to Queue <normal>,

CWD <$HOME/tar_drop1/test>, 8 Processors Requested;

date and time stamp: Dispatched to 8 Hosts/Processors

<8*lsfhost.localdomain>;

date and time stamp: slurm_id=74;ncpus=8;slurm_alloc=n16,n14,n13,n15;

date and time stamp: Starting (Pid 26446);

date and time stamp: Done successfully. The CPU time used is 0.1 seconds;

date and time stamp: Post job process done successfully;

Summary of time in seconds spent in various states by date and time

PEND

PSUSP

RUN

USUSP

SSUSP

UNKWN

TOTAL

12

0

93

0

0

0

105

View the node state:

$ sinfo

PARTITION AVAIL TIMELIMIT NODES

STATE

NODELIST

lsf

up

infinite

4

idle

n[13-16]

A.7 Submitting an HP-MPI Job with LSF

This example shows how to run an MPI job with the

bsub

command.

Examples

A-7

Advertising