Hi,

Is it possible to specify the GRES type with MaxTRESPerNode? E.g:

slurm.conf
(…)
GresType=gpu
(…)
NodeName=gpu[01,02] NodeAddr=10.2.1.[1,2] Gres=gpu:tesla:2,gpu:kepler:2 ...
(…)
PartitionName=gpu_one Nodes=gpu[01,02] QOS=part_gpu_one …
PartitionName=gpu_two Nodes=gpu[01,02] QOS=part_gpu_two …

gres.conf
Name=gpu Type=tesla File=/dev/nvidia0 CPUs=0,1
Name=gpu Type=tesla File=/dev/nvidia1 CPUs=0,1
Name=gpu Type=kepler File=/dev/nvidia2 CPUs=2,3
Name=gpu Type=kepler File=/dev/nvidia3 CPUs=2,3



And then use the type for restricting the GPU resources of a certain type (in 
partition QOS):
part_gpu_one:
… MaxTRESPerNode=gres/gpu:tesla=1, gres/gpu:kepler=2 …
part_gpu_two:
… MaxTRESPerNode=gres/gpu:tesla=1, gres/gpu:kepler=0 …


Thank you!

Best,
Nico





Reply via email to