[slurm-users] Extract job information after completion
O'Grady, Paul Christopher
cpo at slac.stanford.edu
Tue Apr 27 22:36:15 UTC 2021
On Apr 27, 2021, at 10:44 AM, slurm-users-request at lists.schedmd.com<mailto:slurm-users-request at lists.schedmd.com> wrote:
In slurm.conf set:
Which does a number of things, including the following:
root at pople01:/etc/slurm # tail -6 slurm.epilogslurmctld
# 20150210 - Sean
# Save the details of a job by doing an scontrol show job=job
# So it can be referenced for trubleshooting in future if needed
# should be run by the slurm epilog
/usr/bin/scontrol show job="$SLURM_JOB_ID" > "$recordsdir/$SLURM_JOBID.record"
Sean, that’s a nice idea for a workaround. Also good to know somebody else has run into this problem learning about completed job information for debugging purposes.
Thanks for taking the time to share your solution,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the slurm-users