3 resource control options, 4 help options, 6 srun i/o options – HP XC System 2.x Software User Manual

Page 78: 1 i/o commands

Advertising
background image

-J jobname

(

--job-name=jobname

)

The

-J

option specifies

jobname

as the identifying string for this job (along with its

system-supplied job ID, as stored in

SLURM_JOBID

) in responses to your queries about job

status (the default

jobname

is the executable program’s name).

-v

(

--verbose

)

The

-v

option reports verbose messages as

srun

executes your job. The default is program

output with only overt error messages added. Using multiple

-v

options further increases

message verbosity.

6.4.5.3 Resource Control Options

-I

(

--immediate

)

The

-I

option exits if requested resources are not available at once. By default,

srun

blocks

until requested resources become available.

-O

(

--overcommit

)

The

-O

option over-commits CPUs. By default,

srun

never allocates more than one process

per CPU. If you intend to assign multiple processes per CPU, you must invoke the

-O

option

along with

-n

and

-N

(thus

-n16-N4-O

together allow 2 processes per CPU on the 4 allocated

2-CPU nodes). Even with

-O

,

srun

never allows more than

MAX_TASKS_PER_NODE

tasks

to run on any single node.

MAX_TASKS_PER_NODE

is discussed in Section 6.4.8.

-W seconds

(

--wait=seconds

)

The

-W

option waits the specified number of seconds after any job task terminates before

terminating all remaining tasks. The default for seconds is unlimited. Use

-W

to force an entire

job to end quickly if any one task terminates prematurely.

6.4.5.4 Help Options

--help

The

--help

option lists the name of every

srun

option, with a one-line description of each.

Options appear in categories by function.

--usage

The

--usage

option reports a syntax summary for

srun

, which includes many, but not all

srun

options.

-V

(

--version

)

The

-V

option reports the currently installed version number for SLURM.

6.4.6

srun

I/O Options

srun

provides the following I/O options:

I/O commands

I/O Redirection Alternatives

6.4.6.1 I/O Commands

The

srun

I/O commands manage and redirect the standard input to, as well as the standard

output and error messages from, parallel jobs executed under SLURM. Three of these

6-8

Using SLURM

Advertising