$ bsub
Job <101> is submitted to default queue <normal>. <<Waiting for dispatch ...>>
<<Starting on lsfhost.localdomain>> n1
At this time an xterm terminal window appears on your display. The xterm program runs on the first node in the allocation. You can execute multiple srun and mpirun commands from this terminal; they will make use of the resources that were reserved by
The following examples are from an interactive session.
Example$ printenv grep SLURM
SLURM_JOBID=105
SLURM_NPROCS=4
$ printenv LSB_HOSTS
n1 n2 n3 n4
$ printenv LSB_MCPU_HOSTS
n1 1 n2 1 n3 1 n4 1
Example$ sinfo |
|
|
|
|
|
PARTITION AVAIL | TIMELIMIT NODES | STATE | NODELIST | ||
lsf | up | infinite | 4 | alloc | |
lsf | up | infinite | 6 | idle |
$ squeue |
|
|
|
|
| ||
JOBID | PARTITION | NAME | USER | ST | TIME | NODES | NODELIST(REASON) |
105 | lsf | hptclsf@ | test | R | 1:59 | 4 | |
|
|
|
|
|
|
|
|
$ bjobs |
|
|
|
|
|
|
|
|
|
JOBID | USER | STAT | QUEUE | FROM_HOST | EXEC_HOST | JOB_NAME | SUBMIT_TIME | ||
84 | test | RUN | normal lsfhost.loc | 4*lsfhost.l *bin/xterm date and time stamp | |||||
$ bhosts |
|
|
|
|
|
|
|
| |
HOST_NAME |
| STATUS | JL/U | MAX | NJOBS | RUN | SSUSP | USUSP RSV | |
lsfhost.localdomai ok | - | 20 | 4 | 4 | 0 | 0 0 | |||
|
|
|
|
|
|
|
|
|
|
$ bjobs
Job <84>, User <test>, Project <default>, Status <RUN>, Queue <normal>, Inter
|
|
|
| active | ||||||||
</usr/bin/xterm> |
|
|
|
|
|
|
|
|
|
| ||
date and | time stamp: Submitted | from host <lsfhost.localdomain>, CWD | ||||||||||
<$HOME>, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 Processors Requested; |
|
|
|
| ||||
date and | time stamp: Started on 4 Hosts/Processors |
|
| |||||||||
<4*lsfhost.localdomain>; |
|
|
|
|
|
|
|
| ||||
date and | time stamp: | |||||||||||
SCHEDULING PARAMETERS: |
|
|
|
|
|
|
|
| ||||
|
| r15s | r1m | r15m | ut | pg | io | ls | it | tmp | swp | mem |
loadSched | - | - | - | - | - | - | - | - | - | - | - | |
loadStop |
| - | - | - | - | - | - | - | - | - | - | - |
bhist | 84 |
|
|
|
|
|
|
|
|
|
|
|
Job <84>, User <test>, Project | <default>, Interactive | |||||||||||
shell m |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ode, Command </usr/bin/xterm> |
|
| ||||||
date and | time stamp: Submitted | from host <lsfhost.localdomain>, to Queue |
Using LSF