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

srun Option -w

--nodelist=node1,...nodeN

Description

LSF Equivalent

Requests a specific list of nodes. The

-ext

job will at least contain these nodes.

"SLURM[nodelist=node1,...nodeN]"

The list may be specified as a

 

comma-separated list of nodes, or a

 

range of nodes. By default, job does

 

not require -ext.

 

-x

--exclude=node1,...nodeN

-p

--partition=partition

--contiguous

Requests that a specific list of hosts be

-ext

excluded in the resource allocated to

"SLURM[exclude=node1,...nodeN]"

this job. By default, job does not

 

require.

 

Requests resources from partition

You cannot use this option. The lsf partition

partition.

is the only one provided.

Requests a contiguous range of nodes.

-ext "SLURM[contiguous=yes]"

By default, job does not require

 

contiguous nodes.

 

-o

--output=file_name

-o

--output=none,tasked

-i

--input=file_name

-i

--input=none,tasked

-e

--error=file_name

-e

--error=none,tasked

-J

--job-name=job_name

--uid=user

-t

--time=minutes

--gid=group

-A

--allocate

--no-shell

-I

--immediate

Specifies the mode for stdout

bsub -ooutput_file

redirection.

 

Specify the mode for stdout

You can use this option when launching

redirection.

parallel tasks.

Specify how stdin is to be redirected.

bsub -iinput_file

Specify how stdin is to be redirected.

You can use when launching parallel tasks.

Specify how stderr is to be

bsub -eerror_file

redirected.

 

Specify how stderr is to be

You can use when launching parallel tasks.

redirected.

 

Specify a name for the job.

You cannot use this option. When creating

 

allocation. SLURM sets LSF job id

 

automatically.

Root attempts to submit or run a job

You cannot use this option. LSF uses it to create

as normal user.

allocation.

Establish a time limit to terminate the

bsub -W runlimit

job after specified number of minutes.

 

Root attempts to submit or run a job

You cannot use this option. LSF uses this option

as group.

to create allocation.

Allocate resource and spawn a shell.

You cannot use this option. LSF uses this option

 

to create allocation.

Immediately exit after allocating

You cannot use this option. LSF uses this option

resources.

to create allocation.

Allocate immediately or fail.

You cannot use this option. LSF uses this option

 

to create allocation.

104 Using LSF

Page 104
Image 104
HP XC System 4.x Software manual Requests a specific list of nodes