Commit d2b091a4 authored by Danny Auble's avatar Danny Auble
Browse files

Fix function to work with a node with multiple types of gpus

i.e.

gres=gpu:k80:4,gpu:tesla:4

the code would put the k80 as one number 4, and then add the tesla and
not remove the 4 but add the 8 so if all your other nodes only have 1
gpu and you are asking for 2 nodes it would return 4 instead of 1.

Bug 7066
parent 8f88cc1c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment