[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:

EpilogSlurmctld=/etc/slurm/slurm.epilogslurmctld

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,

chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210427/6c5742ec/attachment-0001.htm>


More information about the slurm-users mailing list