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
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