SLURM Reference Manual for HP XC System Software

SRUN I/O Options
I/O Commands
These SRUN 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 commands let you choose from
among any of ve I/O redirection alternatives ("modes") that are explained in the next section. (page 34)
-o mode (lowercase, --output=mode)
redirects standard output STDOUT for this job to mode, one of ve alternative ways
to display, capture, or subdivide the job's I/O, explained in the next subsection (page
34). By default, SRUN collects STDOUT from all job tasks and line buffers it to the
attached terminal.
-i mode (lowercase, --input=mode)
redirects standard input STDIN for this job from mode, one of ve alternative ways
to display, capture, or subdivide the job's I/O, explained in the next subsection (page
34). By default, SRUN redirects STDIN from the attached terminal to all job tasks.
-e mode (lowercase, --error=mode)
redirects standard error STDERR for this job to mode, one of ve alternative ways
to display, capture, or subdivide the job's I/O, explained in the next subsection (page
34). By default, SRUN collects STDERR from all job tasks and line buffers it to the
attached terminal, just as with STDOUT. But you can request that SRUN handle
standard output and standard error differently by invoking -e and -o with different
redirection modes.
-l (lowercase ell, --label)
prepends the remote task ID number to each line of standard output and standard
error. By default, SRUN line buffers this I/O to the terminal (or to specied les)
without any task labels. Options -l and -u are mutually exclusive.
-u (lowercase, --unbuffered)
prevents line buffering of standard output from remote tasks (buffering is the SRUN
default). Options -l and -u are mutually exclusive.
SLURM Reference Manual - 33