Re: [slurm-users] Preventing --exclusive on a per-partition basis

2023-03-22 Thread Russell Jones
Thank you! Yes I ended up doing exactly that after finding the job submit API docs. On Wed, Mar 22, 2023 at 3:58 AM Bjørn-Helge Mevik wrote: > I'd simply add a test like > and job_desc.partition == "the_partition" > to the test for exclusiveness. > > -- > Regards, > Bjørn-Helge Mevik, dr. scie

Re: [slurm-users] Preventing --exclusive on a per-partition basis

2023-03-22 Thread Bjørn-Helge Mevik
I'd simply add a test like and job_desc.partition == "the_partition" to the test for exclusiveness. -- Regards, Bjørn-Helge Mevik, dr. scient, Department for Research Computing, University of Oslo signature.asc Description: PGP signature

[slurm-users] Preventing --exclusive on a per-partition basis

2023-03-21 Thread Russell Jones
Hi all, We are running into the documented issues of job preemption not working for jobs running in a lower priority queue, but the user used --exclusive=user in the job submission. I have found the example job_submit.lua file for preventing using this flag, but I don't want to prevent it on ever