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

On Sun, Dec 8, 2024 at 7:39 PM michaelmorgan937--- via slurm-users <slurm-users@lists.schedmd.com> wrote:

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

 

 

 


--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-leave@lists.schedmd.com