Ticket 7312 - sacct output of billing info
Summary: sacct output of billing info
Status: OPEN
Alias: None
Product: Slurm
Classification: Unclassified
Component: Accounting (show other tickets)
Version: 18.08.6
Hardware: Linux Linux
: 5 - Enhancement
Assignee: Unassigned Developer
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2019-06-28 00:04 MDT by Daniel Grimwood
Modified: 2019-07-03 01:30 MDT (History)
3 users (show)

See Also:
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: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
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.