Skip to content

Job output with SLURM

< Monitor a job Home Examples >

The program's standard output and standard error output will be redirected to a text file. The default output filename is located in the submission directory and named

slurm-job-ID.out

To select a different filename for the standard output, use the SBATCH option -o:

$ sbatch -o output_filename job

To select a different output for the error use the SBATCH option -e:

$ sbatch -e error_filename job

Further reading

< Monitor a job Home Examples >