On Mon, Feb 6, 2017 at 1:55 PM, Hans-Nikolai Viessmann <[email protected]> wrote:
> Hi Michael,
>
> Yes, on all the compute nodes there is a gres.conf, and all the GPU nodes
> except gpu08 have the following defined:
>
> Name=gpu Count=1
> Name=mic Count=0
>
> The head node has this defined:
>
> Name=gpu Count=0
> Name=mic Count=0
>
> Is it possible that Gres Type needs to be specified for all nodes (of a
> particular
> grestype, e.g. gpu) in order to use type based allocation?
>
> So should I perhaps update the gres.conf file on the gpu nodes to something
> this:
>
> Name=gpu Type=tesla Count=1
> Name=mic Count=0
>
> Would that make a difference?

Not sure, this is starting to get beyond my troubleshooting ability.
Here's what i have defined:

slurm.conf
nodename=host001 gres=gpu:k10:8

gres.conf
name=gpu file=/dev/nvidia0 type=k10
name=gpu file=/dev/nvidia1 type=k10
name=gpu file=/dev/nvidia2 type=k10
name=gpu file=/dev/nvidia3 type=k10
name=gpu file=/dev/nvidia4 type=k10
name=gpu file=/dev/nvidia5 type=k10
name=gpu file=/dev/nvidia6 type=k10
name=gpu file=/dev/nvidia7 type=k10

if that isn't working you, i would take the "type" definitions out of
both the slurm.conf and the gres.conf and see if it then works.  there
was a bug a couple revs ago with the gres types, which is resolved,
but maybe it regressed.

Reply via email to