Re: [slurm-users] GRES and GPUs

2023-07-20 Thread Xaver Stiensmeier
y to actually use it as a graphics file, that should be enough for that node to think it has gres/gpu resources. That's what I do in my vagrant slurm cluster. Rob ---- *From:* slurm-users on behalf of Xaver Stiensmeier

Re: [slurm-users] GRES and GPUs

2023-07-19 Thread Xaver Stiensmeier
b *From:* slurm-users on behalf of Xaver Stiensmeier *Sent:* Monday, July 17, 2023 9:43 AM *To:* slurm-users@lists.schedmd.com *Subject:* Re: [slurm-users] GRES and GPUs Hi Hermann, Good idea, but we are already using

Re: [slurm-users] GRES and GPUs

2023-07-19 Thread Groner, Rob
what it thinks it has. Useful for testing. Rob From: slurm-users on behalf of Hermann Schwärzler Sent: Wednesday, July 19, 2023 9:04 AM To: slurm-users@lists.schedmd.com Subject: Re: [slurm-users] GRES and GPUs Hi Xaver, I think you are missing the "

Re: [slurm-users] GRES and GPUs

2023-07-19 Thread Hermann Schwärzler
to think it has gres/gpu resources. That's what I do in my vagrant slurm cluster. Rob *From:* slurm-users on behalf of Xaver Stiensmeier *Sent:* Monday, July 17, 2023 9:43 AM *To:* slurm-users@lists.schedmd.com *Subject:* Re: [slurm-users] GRES a

Re: [slurm-users] GRES and GPUs

2023-07-19 Thread Xaver Stiensmeier
node to think it has gres/gpu resources. That's what I do in my vagrant slurm cluster. Rob *From:* slurm-users on behalf of Xaver Stiensmeier *Sent:* Monday, July 17, 2023 9:43 AM *To:* slurm-users@lists.schedmd.com *S

Re: [slurm-users] GRES and GPUs

2023-07-19 Thread Xaver Stiensmeier
--- *From:* slurm-users on behalf of Xaver Stiensmeier *Sent:* Monday, July 17, 2023 9:43 AM *To:* slurm-users@lists.schedmd.com *Subject:* Re: [slurm-users] GRES and GPUs Hi Hermann, Good idea, but we are already using `SelectType=select/cons_tr

Re: [slurm-users] GRES and GPUs

2023-07-17 Thread Groner, Rob
es. That's what I do in my vagrant slurm cluster. Rob From: slurm-users on behalf of Xaver Stiensmeier Sent: Monday, July 17, 2023 9:43 AM To: slurm-users@lists.schedmd.com Subject: Re: [slurm-users] GRES and GPUs Hi Hermann, Good idea, but we are al

Re: [slurm-users] GRES and GPUs

2023-07-17 Thread Xaver Stiensmeier
Hi Hermann, Good idea, but we are already using `SelectType=select/cons_tres`. After setting everything up again (in case I made an unnoticed mistake), I saw that the node got marked STATE=inval. To be honest, I thought I can just claim that a node has a gpu even if it doesn't have one - just fo

Re: [slurm-users] GRES and GPUs

2023-07-17 Thread Hermann Schwärzler
Hi Xaver, what kind of SelectType are you using in your slurm.conf? Per https://slurm.schedmd.com/gres.html you have to consider: "As for the --gpu* option, these options are only supported by Slurm's select/cons_tres plugin." So you can use "--gpus ..." only when you state SelectType

[slurm-users] GRES and GPUs

2023-07-17 Thread Xaver Stiensmeier
Hey, I am currently trying to understand how I can schedule a job that needs a GPU. I read about GRES https://slurm.schedmd.com/gres.html and tried to use: GresTypes=gpu NodeName=test Gres=gpu:1 But calling - after a 'sudo scontrol reconfigure': srun --gpus 1 hostname didn't work: srun: err