Ticket 6835 - Include gpu type in scontrol show node
Summary: Include gpu type in scontrol show node
Status: RESOLVED INFOGIVEN
Alias: None
Product: Slurm
Classification: Unclassified
Component: User Commands (show other tickets)
Version: 18.08.5
Hardware: Linux Linux
: 4 - Minor Issue
Assignee: Director of Support
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2019-04-10 14:19 MDT by Kaylea Nelson
Modified: 2019-04-10 15:58 MDT (History)
0 users

See Also:
Site: Yale
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:
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 Kaylea Nelson 2019-04-10 14:19:44 MDT
It would be very useful for "scontrol show node" to show the number of different types of gpus on a node. Right now the only way we can find to query that information is to parse the gres.conf file. Could you use the same format as "GresUsed".

Now:
   Gres=gpu:4
   GresDrain=N/A
   GresUsed=gpu:k80:2(IDX:0,2)

Proposed:
   Gres=gpu:k80:4
   GresDrain=N/A
   GresUsed=gpu:k80:2(IDX:0,2)

Thanks,
Kaylea
Comment 1 Jason Booth 2019-04-10 15:58:39 MDT
You will be happy to know this is in 19.05. I am going to close this out.

In 19.05
# scontrol show nodes | grep Gres
   Gres=gpu:tesla:1(S:0),test:1
   Gres=gpu:tesla:1(S:0),test:1
   Gres=gpu:tesla:1(S:0),test:1
   Gres=gpu:tesla:1(S:0),test:1
   Gres=gpu:tesla:1(S:0),test:1
   Gres=gpu:tesla:1(S:0),test:1
   Gres=gpu:tesla:1(S:0),test:1
   Gres=gpu:tesla:1(S:0),test:1
   Gres=gpu:tesla:1(S:0),test:1
   Gres=gpu:tesla:1(S:0),test:1

In 18.08
#scontrol show nodes | grep Gres
   Gres=gpu:1,test:1
   Gres=gpu:1,test:1
   Gres=gpu:1,test:1
   Gres=gpu:1,test:1
   Gres=gpu:1,test:1
   Gres=gpu:1,test:1
   Gres=gpu:1,test:1
   Gres=gpu:1,test:1
   Gres=gpu:1,test:1
   Gres=gpu:1,test:1