Ticket 7312

Summary: sacct output of billing info
Product: Slurm Reporter: Daniel Grimwood <daniel.grimwood>
Component: AccountingAssignee: Unassigned Developer <dev-unassigned>
Status: OPEN --- QA Contact:
Severity: 5 - Enhancement    
Priority: --- CC: albert.gil, cinek, tim
Version: 18.08.6   
Hardware: Linux   
OS: Linux   
Site: Pawsey 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 Daniel Grimwood 2019-06-28 00:04:41 MDT
Hi,

this looks similar to bug 4106 but for sacct instead of sreport.

Currently we parse sacct output and use the billing= entry of AllocTRES if it exists, and then multiply the value with ElapsedRaw.  If it doesn't exist in the sacct output then we fall back to CPUTimeRaw.

To save a little bit of coding in our scripts, can we please have a BillingRaw?  Even if it's not a stored field, sacct could do that if test and multiplication for us.

With regards,
Daniel.