Ticket 2047 - Display job layout in sacct
Summary: Display job layout in sacct
Status: OPEN
Alias: None
Product: Slurm
Classification: Unclassified
Component: Accounting (show other tickets)
Version: 14.11.8
Hardware: Linux Linux
: 5 - Enhancement
Assignee: Unassigned Developer
QA Contact:
URL:
: 6406 6626 (view as ticket list)
Depends on:
Blocks:
 
Reported: 2015-10-21 06:29 MDT by Kilian Cavalotti
Modified: 2019-03-04 14:40 MST (History)
4 users (show)

See Also:
Site: Stanford
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 Kilian Cavalotti 2015-10-21 06:29:02 MDT
Hi,

I was wondering if there was a way to get the job layout (ie. which CPUs were assigned on which node) in sacct, the way you can display get it with "scontrol -d show job":

   Socks/Node=* NtasksPerN:B:S:C=0:0:*:* CoreSpec=*
     Nodes=sh-5-33 CPU_IDs=0-15 Mem=64000
     Nodes=sh-5-34 CPU_IDs=0-6,8-14 Mem=56000

I tried sacct --format=Layout, but it just seems to display the distribution method (like "Block" or "Cyclic").

Thanks!
--
Kilian
Comment 1 Pavel A Vasev 2019-02-11 23:45:10 MST
Hi Kilian! Have you somehow achieved this?
Comment 2 Kilian Cavalotti 2019-02-12 08:45:07 MST
Hi Pavel, 

(In reply to Pavel A Vasev from comment #1)
> Hi Kilian! Have you somehow achieved this?

I haven't looked in a while, but I don't think this has been implemented. 

Our current approach is to dump the contents of "scontrol -d show job" in a log file during PrologSlurmctld execution, but it's not really recommended, because it could put extra load on the Slurm controller.

Cheers,
-- 
Kilian
Comment 3 Pavel A Vasev 2019-02-12 09:46:56 MST
Thank you very much for your answer, Kilian!
Comment 4 Jason Booth 2019-03-04 10:13:00 MST
*** Ticket 6406 has been marked as a duplicate of this ticket. ***
Comment 5 Jason Booth 2019-03-04 14:40:16 MST
*** Ticket 6626 has been marked as a duplicate of this ticket. ***