Hi,
We are also limiting "interactive" jobs through a plugin. What I've
found is that in the job_descriptor the following holds:
for salloc: argc = 0, script = NULL
for srun: argc > 0, script = NULL
for sbatch: argc = 0, script != NULL
You can look at our plugin in
https://github.com/irush-cs/slu
Hello,
I have written my own job_submit.lua script for limiting "srun"
executions to one processor, one task and one node. If I test it with
"srun", all works fine. However, if now I try to run a sbatch job with
"-N 12" or "-n 2", job_submit.lua is also checked and, then, my job is
rejected b