[slurm-users] error and output files

67 views
Skip to first unread message

michaelmorgan937--- via slurm-users

unread,
Dec 8, 2024, 9:38:21 PM12/8/24
to slurm...@lists.schedmd.com

Hi all,

 

I have a program (for example x.x). When I run it as “x.x -I input -o output”, I will get an “output” file, as well as output and error files from slurm. However,
all the content of slurm output file is in the “output” file (and there are some extra content), so it is a waste to print the slurm output. Is it possible to set
directives so that slurm only print error file?

 

Thank you very much.

 

Michael Morgan

 

 

 

Davide DelVento via slurm-users

unread,
Dec 9, 2024, 9:37:31 AM12/9/24
to michaelm...@gmail.com, slurm...@lists.schedmd.com
Mmmm, from https://slurm.schedmd.com/sbatch.html

> By default both standard output and standard error are directed to a file of the name "slurm-%j.out", where the "%j" is replaced with the job allocation number. 

Perhaps at your site there's a configuration which uses separate error files? See the -e option down there at the documenting URL mentioned above. You can specify the same filename for both output and error to force them to go into the same file

--
slurm-users mailing list -- slurm...@lists.schedmd.com
To unsubscribe send an email to slurm-us...@lists.schedmd.com
Reply all
Reply to author
Forward
0 new messages