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 -Is command to launch the interactive shell:
$ bsub
Job <120> 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 FROM_HOST when bjobs is again issued:
$ bjobs |
|
|
|
|
|
| |
JOBID | USER | STAT | QUEUE | FROM_HOST | EXEC_HOST | JOB_NAME | SUBMIT_TIME |
120 | smith | RUN | normal | n2 | lsfhost.loc | /bin/bash | date and time |
Note the output when srun hostname is issued:
$ srun hostname
n10
Exit from the shell:
$ exit
exit
A.3 Running LSF Jobs with a SLURM Allocation Request
A.3.1 Example 1. Two Processors on Any Two Nodes
This example submits a job that requests two processors on any two nodes, on an HP XC system that has three compute nodes.
Submit the job:
$ bsub
Job <8> is submitted to default queue <normal>. <<Waiting for dispatch ...>>
<<Starting on lsfhost.localdomain>> n13
n14