Table 10-3 LSF Equivalents of SLURM srun Options (continued)

srun Option

Description

LSF Equivalent

-s

Share nodes with other running jobs.

You cannot use this option. LSF uses this option

--share

SHARED=FORCE shares all nodes in

to create allocation.

 

 

partition.

 

 

SHARED=YES shares nodes if and only

 

 

if –shareis specified.

 

 

SHARED=NO means do not share the

 

 

node.

 

 

 

 

-O

Overcommit resources.

Use when launching parallel tasks.

--overcommit

 

 

 

 

 

-b

Submit in “batch mode”.

Meaningless under LSF integrated with

--batch

 

SLURM.

 

 

 

 

 

-r

Run a job step relative to node n of the

Use as an argument to srun when launching

--relative=n

current allocation. It is about placing

parallel tasks.

tasks within allocation.

 

 

 

 

 

 

-D

Specify the working directory of the

Job starts in job submission directory by

--chdir=path

job.

default.

 

 

 

 

 

-k

Do not automatically terminate a job

When creating allocation, LSF does not use the

--no-kill

if one of the nodes it has been allocated

–koption. SLURM always terminates a job if

fails.

one of allocated nodes fails

 

 

 

 

-T

The srun command uses nthreads

Use as an argument to srun when launching

--threads=nthreads

to initiate and control the parallel job.

parallel tasks.

 

 

-l

Prepend task number to lines of

--label

stdout/stderr.

 

Use as an argument to srun when launching parallel tasks.

-u

Do not line buffer stdout from

--unbuffered

remote tasks.

 

Use as an argument to srun when launching parallel tasks.

-m

Distribution method for remote

Use as an argument to srun when launching

--distribution=blockcylprocesses.

parallel tasks.

 

 

 

--mpi=mpi_type

Identify the type of MPI to be used.

Use as an argument to srun when launching

 

 

parallel tasks.

 

 

 

--jobid=id

Initiate a job step under an already

Do not use. SLURM_JOBID is set in job

 

allocated job id.

environment to associate job with SLURM

 

 

allocation.

 

 

 

-v

Verbose operation.

Use as an argument to srun when launching

 

 

parallel tasks.

 

 

 

-d

A debug level for slurmd.

Use as an argument to srun when launching

--slurm-debug=level

 

parallel tasks.

 

 

 

 

 

-W

How long to wait after the first task

Use as an argument to srun when launching

--wait=seconds

terminates before terminating all

parallel tasks.

remaining tasks.

 

 

 

 

 

 

-q

Quit immediately on single SIGINT.

Meaningless under LSF integrated with

--quit-on-interrupt

 

SLURM.

 

 

 

 

 

10.14 LSF Equivalents of SLURM srun Options 105