beautypg.com

HP XC System 4.x Software User Manual

Page 104

background image

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

LSF Equivalent

Description

srun

Option

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

Requests a specific list of nodes. The
job will at least contain these nodes.
The list may be specified as a
comma-separated list of nodes, or a
range of nodes. By default, job does
not require -ext.

-w

--nodelist=node1,...nodeN

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

Requests that a specific list of hosts be
excluded in the resource allocated to
this job. By default, job does not
require.

-x

--exclude=node1,...nodeN

You cannot use this option. The lsf partition
is the only one provided.

Requests resources from partition
partition

.

-p

--partition=partition

-ext "SLURM[contiguous=yes]"

Requests a contiguous range of nodes.
By default, job does not require
contiguous nodes.

--contiguous

bsub -o output_file

Specifies the mode for stdout
redirection.

-o

--output=file_name

You can use this option when launching
parallel tasks.

Specify the mode for stdout
redirection.

-o

--output=none,tasked

bsub -i input_file

Specify how stdin is to be redirected.

-i

--input=file_name

You can use when launching parallel tasks.

Specify how stdin is to be redirected.

-i

--input=none,tasked

bsub -e error_file

Specify how stderr is to be
redirected.

-e

--error=file_name

You can use when launching parallel tasks.

Specify how stderr is to be
redirected.

-e

--error=none,tasked

You cannot use this option. When creating
allocation. SLURM sets LSF job id
automatically.

Specify a name for the job.

-J

--job-name=job_name

You cannot use this option. LSF uses it to create
allocation.

Root attempts to submit or run a job
as normal user.

--uid=user

bsub -W runlimit

Establish a time limit to terminate the
job after specified number of minutes.

-t

--time=minutes

You cannot use this option. LSF uses this option
to create allocation.

Root attempts to submit or run a job
as group.

--gid=group

You cannot use this option. LSF uses this option
to create allocation.

Allocate resource and spawn a shell.

-A

--allocate

You cannot use this option. LSF uses this option
to create allocation.

Immediately exit after allocating
resources.

--no-shell

You cannot use this option. LSF uses this option
to create allocation.

Allocate immediately or fail.

-I

--immediate

104

Using LSF