Ticket 3207

Summary: Append post-job statistics and other messages to job output
Product: Slurm Reporter: Tim Wickberg <tim>
Component: ProfilingAssignee: Unassigned Developer <dev-unassigned>
Status: OPEN --- QA Contact:
Severity: 5 - Enhancement    
Priority: --- CC: hermann.schwaerzler, sts
Version: 17.02.x   
Hardware: Linux   
OS: Linux   
See Also: https://bugs.schedmd.com/show_bug.cgi?id=3132
https://bugs.schedmd.com/show_bug.cgi?id=3685
https://bugs.schedmd.com/show_bug.cgi?id=8107
Site: Vanderbilt Alineos Sites: ---
Atos/Eviden Sites: --- Confidential Site: ---
Coreweave sites: --- Cray Sites: ---
DS9 clusters: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- NoveTech Sites: ---
Nvidia HWinf-CS Sites: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Tzag Elita Sites: ---
Linux Distro: --- Machine Name:
CLE Version: Version Fixed:
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---

Description Tim Wickberg 2016-10-25 10:20:17 MDT
Add a mechanism for returning job statistics (and/or other admin-generated messages) back to the user immediately following job completion. Ideally these would be appended to the user output file itself.

The epilog executes while the job is still running, and by definition cannot include final statistics for the job.

SlurmctldEpilog has no access to the job output.
Comment 2 Hermann Schwärzler 2021-02-10 04:50:08 MST
Hi Tim, 

this is one of the things we definitely would like to have. :-)

What's the state of this request? What are the chances of this being implemented any time soon?

Or could this be done by writing a SPANK plugin? Probably one running in the slurmd-context (slurmd_exit callback) or in the job_script context (job_epilog context - but that's too early, isn't it?)?