Ticket 14045 - account as format option in sprio
Summary: account as format option in sprio
Status: RESOLVED FIXED
Alias: None
Product: Slurm
Classification: Unclassified
Component: User Commands (show other tickets)
Version: 21.08.8
Hardware: Linux Linux
: 5 - Enhancement
Assignee: Ben Glines
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2022-05-10 19:05 MDT by Naveed Near-Ansari
Modified: 2022-06-15 10:10 MDT (History)
0 users

See Also:
Site: Caltech
Slinky Site: ---
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
Google sites: ---
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: 23.02
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 Naveed Near-Ansari 2022-05-10 19:05:37 MDT
Hi,  This is a feature request for future versions.  We would find it useful to be able to see the accounts for the jobs when using sprio.  We heavily use accounts as the primary fairshare element, and being able to quickly see accounts of the jobs in sprio would be helpful.

Thanks.
Comment 13 Ben Glines 2022-06-06 14:33:45 MDT
Hi Naveed,

We have added an "Account name" type specification to sprio. 

Example:
> $ sbatch -N1 -wn-1 --account="test" --wrap="sleep 100000"
> Submitted batch job 120
> $ sbatch -N1 -wn-1 --account="test" --wrap="sleep 100000"
> Submitted batch job 121

Use %o for "Account name":
> $ sprio -o "%.10i %.10o %.10Y"
>      JOBID    ACCOUNT   PRIORITY
>        121       test          1

This feature is currently set to be available in 23.02.
Comment 14 Ben Glines 2022-06-13 15:20:37 MDT
See commits b33ef80f to 885369a4 on https://github.com/SchedMD/slurm to see these changes. Let me know if you have any further questions.
Comment 15 Naveed Near-Ansari 2022-06-13 15:21:34 MDT
i really appreciate it. is there any estimate on a release date?
Comment 16 Ben Glines 2022-06-15 10:10:09 MDT
The estimated release date is sometime around February 2023. We have major releases every 9 months, and just had the last major release in May (22.05).

See https://slurm.schedmd.com/quickstart_admin.html#upgrade for how our versioning works. Basically 23.02 == 2023.February