beautypg.com

Lsf-hpc equivalents of slurm srun options – HP XC System 3.x Software User Manual

Page 86

background image

confirm an expected high load on the nodes. The following is an example of this; the LSF JOBID is 200 and
the SLURM JOBID is 250:

$ srun --jobid=250 uptime

If you are concerned about allocating the resources too long or leaving them allocated long after you finished
using them, you could submit a simple sleep job to limit the allocation time, as follows:

$ bsub -n4 -ext "SLURM[nodes=4]" -o %J.out sleep 300

Job <125> is submitted to the default queue .

After you confirm that this job is running using the bjobs -l 125 command, you can operate interactively
for with the resources. If LSF-HPC observes no SLURM activity within the allocation after 5 minutes, it terminates
the job. Any existing SLURM activity (including running MPI jobs with the mpirun -srun command) is
allowed to continue.

LSF-HPC Equivalents of SLURM srun Options

Table 9-2

describes the srun options and lists their LSF-HPC equivalents.

86

Using LSF