-J jobname (--job-name=jobname)
The -J option specifies jobname as the identifyin g 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 n ode. MAX_TASKS_PER_NODE is discussed in Section 6.4.8.
-W seconds (--wait=seconds)
The -W optio n waits the specified number o f seconds after any job task terminates before
terminatin g all r emaining t asks. The default for seconds is unlimited. Use -W to force an entire
job to end quickly if any o ne task terminates prematurely.
6.4.5.4 Help Options
--help
The --help op tion li s ts the name of every srun option, with a one-line description of each.
Options appear in categ ories by function.
--usage
The --usage option reports a syntax summary for srun, which includes many, but n ot 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
Commentaires sur ces manuels