[slurm-users] 20.11.1 on Cray: job_submit.lua: SO loaded on CtlD restart: script skipped when job submitted

Chris Samuel chris at csamuel.org
Thu Dec 17 03:34:05 UTC 2020


On 16/12/20 6:21 pm, Kevin Buckley wrote:

> The skip is occuring, in src/lua/slurm_lua.c, because of this trap

That looks right to me, that's Doug's code which is checking whether the 
file has been updated since slurmctld last read it in.  If it has then 
it'll reload it, but if it hasn't then it'll skip it (and if you've got 
debugging up high then you'll see that message).

So if you see that message then the lua has been read in to slurmctld 
and should get called.  You might want to check the log for when it last 
read it in, just in case there was some error detected at that point.

You can also use luac to run a check over the script you've got like this:

luac -p /etc/opt/slurm/job_submit.lua

All the best,
Chris
-- 
Chris Samuel  :  http://www.csamuel.org/  :  Berkeley, CA, USA



More information about the slurm-users mailing list