A.3.1 example 1. two cores on any two nodes – HP XC System 4.x Software User Manual
Page 116
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 -n1 /bin/bash
Job <120> is submitted to default queue
<
<
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 Cores on Any Two Nodes
This example submits a job that requests two cores on any two nodes, on an HP XC system that
has three compute nodes.
Submit the job:
$ bsub -n2 -ext "SLURM[nodes=2]" -I srun hostname
Job <8> is submitted to default queue
<
<
n13
n14
View the job:
$ bjobs -l 8
Job <8>, User
Interactive mode, Extsched
116
Examples
- Scripting Toolkit for Linux (68 pages)
- Scripting Toolkit for Windows 9.50 (62 pages)
- Scripting Toolkit for Windows 9.60 (62 pages)
- Storage Area Manager (13 pages)
- Core HP-UX (5 pages)
- Matrix Operating Environment Software (138 pages)
- Matrix Operating Environment Software (137 pages)
- Matrix Operating Environment Software (97 pages)
- Matrix Operating Environment Software (33 pages)
- Matrix Operating Environment Software (142 pages)
- Matrix Operating Environment Software (189 pages)
- Matrix Operating Environment Software (58 pages)
- Matrix Operating Environment Software (68 pages)
- Matrix Operating Environment Software (79 pages)
- Matrix Operating Environment Software (223 pages)
- Matrix Operating Environment Software (136 pages)
- Matrix Operating Environment Software (34 pages)
- Matrix Operating Environment Software (63 pages)
- Matrix Operating Environment Software (67 pages)
- Matrix Operating Environment Software (128 pages)
- Matrix Operating Environment Software (104 pages)
- Matrix Operating Environment Software (75 pages)
- Matrix Operating Environment Software (245 pages)
- Matrix Operating Environment Software (209 pages)
- Matrix Operating Environment Software (71 pages)
- Matrix Operating Environment Software (239 pages)
- Matrix Operating Environment Software (107 pages)
- Matrix Operating Environment Software (77 pages)
- Insight Management-Software (148 pages)
- Matrix Operating Environment Software (80 pages)
- Insight Management-Software (128 pages)
- Matrix Operating Environment Software (132 pages)
- Matrix Operating Environment Software (74 pages)
- Matrix Operating Environment Software (76 pages)
- Matrix Operating Environment Software (233 pages)
- Matrix Operating Environment Software (61 pages)
- Matrix Operating Environment Software (232 pages)
- Matrix Operating Environment Software (70 pages)
- Matrix Operating Environment Software (120 pages)
- Matrix Operating Environment Software (36 pages)
- Matrix Operating Environment Software (99 pages)
- Matrix Operating Environment Software (192 pages)
- Matrix Operating Environment Software (198 pages)
- Matrix Operating Environment Software (66 pages)
- Matrix Operating Environment Software (95 pages)