Ticket 1950

Summary: job summary in stdout
Product: Slurm Reporter: hooverdm <hooverdm>
Component: AccountingAssignee: Unassigned Developer <dev-unassigned>
Status: OPEN --- QA Contact:
Severity: 5 - Enhancement    
Priority: --- CC: sts
Version: 14.11.9   
Hardware: Linux   
OS: Linux   
Site: NIH 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 hooverdm@helix.nih.gov 2015-09-16 05:35:54 MDT
How could we write a job summary report to stdout that reports total cputime and max memory usage to stdout at the completion of the job?  It would need to be resilient to job timeouts and cancellation.
Comment 1 Moe Jette 2015-10-22 09:03:04 MDT
There is an email wrapper here with this functionality that may satisfy your requirements:
http://bugs.schedmd.com/show_bug.cgi?id=1611

Rather than the slurm daemon spawning the mail program directly, it spawns an email wrapper that waits for the accounting information to be collected and sent to the user. This will be in the next major release of Slurm, version 16.05 in May 2016. Here is the commit with that code:
https://github.com/SchedMD/slurm/commit/93d9189c35be9d603cfedb09b55c4110a9b5779a