Re: [slurm-users] License management and invoking scontrol in the prolog

2022-09-07 Thread Ole Holm Nielsen
Hi Davide, I suggest that you check your job_submit.lua script with the LUA compiler: luac -p /etc/slurm/job_submit.lua I have written some more details in my Wiki page https://wiki.fysik.dtu.dk/niflheim/Slurm_configuration#job-submit-plugins Best regards, Ole On 9/7/22 01:51, Davide DelVen

Re: [slurm-users] License management and invoking scontrol in the prolog

2022-09-07 Thread Davide DelVento
Thanks Ole, your wiki page sheds some light on this mystery. Very frustrating that even the simple example provided in the release fails, and it fails at the most basic logging functionality. Note that "my" job_submit.lua is now the unmodified, slurm-provided one and that the luac command retu

Re: [slurm-users] License management and invoking scontrol in the prolog

2022-09-07 Thread Brian Andrus
Possibly way off base, but did you happen to do any of the editing in Windows? Maybe running into the cr/lf issue for how windows saves text files? Brian Andrus On 9/7/2022 5:21 AM, Davide DelVento wrote: Thanks Ole, your wiki page sheds some light on this mystery. Very frustrating that even

Re: [slurm-users] License management and invoking scontrol in the prolog

2022-09-07 Thread Davide DelVento
No, I never moved that file from the Linux cluster (and I do the editing with VIM which warns me of that possible issue). On Wed, Sep 7, 2022 at 11:19 AM Brian Andrus wrote: > > Possibly way off base, but did you happen to do any of the editing in > Windows? Maybe running into the cr/lf issue for

Re: [slurm-users] License management and invoking scontrol in the prolog

2022-09-07 Thread Ole Holm Nielsen
Hi Davide, In your slurmctld log you see an entry "error: job_submit/lua: /opt/slurm/job_submit.lua". What I think happens is that when slurmctld encounters an error in job_submit.lua, it will revert to the last known good script cached by slurmctld and ignore the file on disk from now on, e