[slurm-users] Prevent users from updating their jobs

Bill Wichser bill at princeton.edu
Thu Dec 16 20:57:25 UTC 2021


Indeed.  We use this and BELIEVE that it works, lol!

Bill

function slurm_job_modify ( job_desc, job_rec, part_list, modify_uid )
         if modify_uid == 0 then
                 return 0
         end
         if job_desc.qos ~= nil then
                 return 1
         end
         return 0
end


On 12/16/21 15:49, Carlos Fenoy wrote:
> As far a I remember you can use the job_submit lua plugin to prevent any 
> change on the jobs
> 
> On Thu, 16 Dec 2021 at 21:47, Bernstein, Noam CIV USN NRL (6393) 
> Washington DC (USA) <noam.bernstein at nrl.navy.mil 
> <mailto:noam.bernstein at nrl.navy.mil>> wrote:
> 
>     Is there a meaningful difference between using "scontrol update" and
>     just killing the job and resubmitting with those resources already
>     requested?
> 
> -- 
> --
> Carles Fenoy



More information about the slurm-users mailing list