Re: [slurm-users] Restrict user not use node without GPU

2021-08-17 Thread pravin
Thanks a lot. I will try this. On Tue, 17 Aug 2021, 19:10 Paul Raines, wrote: > > I do this via code in job_submit.lua > > function slurm_job_submit(job_desc, part_list, submit_uid) > -- Must allocate GPU if on a GPU partition > if (job_desc.tres_per_job == nil and job_desc.tres_per_

Re: [slurm-users] Restrict user not use node without GPU

2021-08-17 Thread Paul Raines
I do this via code in job_submit.lua function slurm_job_submit(job_desc, part_list, submit_uid) -- Must allocate GPU if on a GPU partition if (job_desc.tres_per_job == nil and job_desc.tres_per_node == nil) then if (string.find(job_desc.partition, "rtx8000")) then slurm.l

[slurm-users] Restrict user not use node without GPU

2021-08-17 Thread pravin
Dear all, I am trying to restrict users not to use nodes without GPU but no luck. Please help me with this. Some users are accessing the GPU nodes and submitting the job(without GPU ), so I want to restrict such users not use nodes without GPU. Thanks Pravin