Table 7-2: LSF Equivalents of SLURM srun Options (cont.)

srun Option

Description

LSF Equivalent

-w, --nodelist=node1,

Request a specific list of nodes.

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

..nodeN

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.

 

-x, --exclude=node1,

Requests that a specific list of hosts

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

..nodeN

not be included in resource allocated

 

 

to this job. By default, job does not

 

 

require.

 

-p, --partition=partition

Request resources from partition

End user cannot use this option, only one

 

“partition” .

lsf partition

--contiguous

Request a contiguous range of nodes.

-ext “SLURM[contiguous=yes]”

 

By default, job does not require

 

 

contiguous nodes.

 

-o, –output=filename

Specify the mode for stdout

bsub –o <output file>

 

redirection.

 

-o, -output=none,tasked

Specify the mode for stdout

 

redirection.

-i, --input=filename

Specify how stdin is to be

 

redirected.

-i, --input=none, tasked

Specify how stdin is to be

 

redirected.

-e, --error=filename

Specify how stderr is to be

 

redirected.

-e, --error=none, tasked

Specify how stderr is to be

 

redirected.

-J, --job-name=jobname

Specify a name for the job.

--uid=user

Root attempts to submit or run a job

-t –time=minutes

as normal user.

Establish a time limit to terminate

 

the job after specified number of

 

minutes.

--gid=group

Root attempts to submit or run a job

 

as group.

-A, --allocate

Allocate resource and spawn a shell.

--no-shell

Immediately exit after allocating

 

resources.

-I , --immediate

Allocate immediately or fail.

-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.

-O , --overcommit

Overcommit resources.

-b, --batch

Submit in “batch mode”.

Can use when launching parallel tasks.

bsub -i <input file>

Can use when launching parallel tasks.

bsub –e <error file>

Can use when launching parallel tasks.

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

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

bsub –W runlimit

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

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

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

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

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

Use when launching parallel tasks.

Meaningless under LSF.

7-24Using LSF

Page 108
Image 108
HP XC System 2.x Software manual 24Using LSF