How to make SLURM use gres.conf

I distribute jobs using SLURM, and I have a generic resource called “cards”. In slurm.conf there is a line:

GresTypes=cards

I do not include this resource in the node configuration lines. Instead, I try and configure it in gres.conf:

NodeName=mynode-01 Name=cards Count=2

Unfortunately, scontrol show node mynode-01 shows Gres=(null).

Both slurm.conf and gres.conf are accessible to all the nodes. I tried to run scontrol reconfigure and to restart SLURM daemon – it doesn’t help.

Read more here: Source link