No print contents in slurm.out files
Show older comments
Hey guys! I am running MATLAB programs on the HPC with slurm.
And I found that all the output that is supposed to show up in the command line are stored in the slurm-xxxx.out file, which is really cumbersome as my programs print a lot things.
Like this.

Is there anyway to avoid those output except for commenting all the fprint and disp?
I tried "-nodisplay -nodesktop -nosplash -batch" but the output is still there.
Thanks a lot!
Accepted Answer
More Answers (1)
xinchao su
on 15 Jan 2024
0 votes
--parsable
Outputs only the job id number and the cluster name if present. The values are separated by a semicolon. Errors will still be displayed.
Categories
Find more on Third-Party Cluster Configuration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!