HP XC System 2.x Software User Manual

Page 108

Advertising
background image

Table 7-2: LSF Equivalents of SLURM

srun

Options (cont.)

srun

Option

Description

LSF Equivalent

-w, --nodelist=node1,
..nodeN

Request 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 “SLURM[nodelist=node1,..nodeN]”

-x, --exclude=node1,
..nodeN

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

-ext “SLURM[exclude=node1,..nodeN]”

-p, --partition=partition

Request resources from partition
“partition” .

End user cannot use this option, only one

lsf

partition

--contiguous

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

-ext “SLURM[contiguous=yes]”

-o, –output=filename

Specify the mode for

stdout

redirection.

bsub –o <output file>

-o, -output=none,tasked

Specify the mode for

stdout

redirection.

Can use when launching parallel tasks.

-i, --input=filename

Specify how

stdin

is to be

redirected.

bsub -i <input file>

-i, --input=none, tasked

Specify how

stdin

is to be

redirected.

Can use when launching parallel tasks.

-e, --error=filename

Specify how

stderr

is to be

redirected.

bsub –e <error file>

-e, --error=none, tasked

Specify how

stderr

is to be

redirected.

Can use when launching parallel tasks.

-J, --job-name=jobname

Specify a name for the job.

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

--uid=user

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

End user cannot use this option, LSF uses it
to create allocation.

-t –time=minutes

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

bsub –W runlimit

--gid=group

Root attempts to submit or run a job
as group.

End user cannot use this option, LSF uses
this option to create allocation.

-A, --allocate

Allocate resource and spawn a shell.

End user cannot use this option, LSF uses
this option to create allocation.

--no-shell

Immediately exit after allocating
resources.

End user cannot use this option, LSF uses
this option to create allocation.

-I , --immediate

Allocate immediately or fail.

End user cannot use this option, LSF uses
this option to create allocation.

-s , --share

Share nodes with other running jobs.
SHARED=FORCE, share all nodes
in partition.
SHARED=YES, share nodes if and
only if –share is specified.
SHARED=NO, do not share node.

End user cannot use this option, LSF uses
this option to create allocation.

-O , --overcommit

Overcommit resources.

Use when launching parallel tasks.

-b, --batch

Submit in “batch mode”.

Meaningless under LSF.

7-24

Using LSF

Advertising