-J jobname (--job-name=jobname)

The -Joption 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 -voption reports verbose messages as srun executes your output with only overt error messages added. Using multiple -vmessage verbosity.

job. The default is program options further increases

6.4.5.3 Resource Control Options

-I (--immediate)

The -Ioption exits if requested resources are not available at once. By default, srun blocks until requested resources become available.

-O (--overcommit)

The -Ooption 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 -Ooption along with -nand -N(thus -n16-N4-Otogether 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 -Woption waits the specified number of seconds after any job task terminates before terminating all remaining tasks. The default for seconds is unlimited. Use -Wto force an entire job to end quickly if any one task terminates prematurely.

6.4.5.4 Help Options

--help

The --helpoption lists the name of every srun option, with a one-line description of each. Options appear in categories by function.

--usage

The --usageoption reports a syntax summary for srun, which includes many, but not all srun options.

-V (--version)

The -Voption 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.1I/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-8Using SLURM

Page 78
Image 78
HP XC System 2.x Software manual Srun I/O Options