Ticket 1434 - Constraints not visible in sacct
Summary: Constraints not visible in sacct
Status: CONFIRMED
Alias: None
Product: Slurm
Classification: Unclassified
Component: Accounting (show other tickets)
Version: 14.11.3
Hardware: Linux Linux
: 5 - Enhancement
Assignee: Unassigned Developer
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2015-02-05 01:38 MST by Marco Passerini
Modified: 2017-12-11 10:32 MST (History)
0 users

See Also:
Site: CSC - IT Center for Science
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 Marco Passerini 2015-02-05 01:38:20 MST
Our users are using constraint options to pick processor types, like:
srun -n 1 --constraint=haswell hostname

Is there a way to visualize whether a job has been using a given constraint in sacct and squeue? I didn't manage to do it.

If it's not available, that would be a nice feature to have.
Comment 1 Moe Jette 2015-02-25 04:48:20 MST
The information is available using the "scontrol show job #" command or the squeue command with a user-specified output format. That would be something of this sort

squeue -O jobid,features

Note that user's can specify their default format using the "SQUEUE_FORMAT2" environment variable (e.g. "export SQUEUE_FORMAT2=jobid,feature").

The information is current not recorded in the accounting database, so it is not visible using the sacct command.
Comment 2 Marco Passerini 2015-02-26 00:46:48 MST
Thanks, for pointing these features out, it's very useful information!
I'll follow the Slurm releases to see if it gets added to sacct. It would be useful.