steps through a series of commands that illustrate what occurs when you launch an interactive shell.
Check 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 |
Check partition information:
$ sinfo |
|
|
|
|
|
PARTITION AVAIL | TIMELIMIT | NODES | STATE | NODELIST | |
lsf | up | infinite | 6 | idle |
Check local host information:
$ hostname
n2
Check job information:
$ bjobs
No unfinished job found
Run the LSF bsub
$ bsub
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 |
$ bhist
Job <124>, User <lsfadmin>, Project <default>, Interactive
to Queue <normal>, CWD <$HOME>,4 Processors Requested, Requested Resources <type=any>;
date and time stamp: Dispatched to 4 Hosts/Processors <4*lsfhost.localdomain>;
date and time stamp:
date and time stamp: Starting (Pid 4785);
Summary | of | time in seconds | spent in various states by date and time | ||||
PEND | PSUSP | RUN | USUSP | SSUSP | UNKWN | TOTAL | |
11 | 0 |
| 124 | 0 | 0 | 0 | 135 |