[slurm-users] Executing slurm command from Lua job_submit script?
cbalways at gmail.com
Fri Apr 3 12:56:34 UTC 2020
the essence of the code looks like
in job_submitl.lua script, it execute an external script
and the external test.sh executes the following command to get the
partition summary for further processing.
sinfo -h -p $1 -s
But, this sinfo command returned no result.
On Fri, Apr 3, 2020 at 1:28 AM Marcus Wagner <wagner at itc.rwth-aachen.de>
> Hi Chansup,
> could you provde a code snippet?
> Am 02.04.2020 um 19:43 schrieb CB:
> > Hi,
> > I'm running Slurm 19.05.
> > I'm trying to execute some Slurm commands from the Lua job_submit script
> > for a certain condition.
> > But, I found that it's not executed and return nothing.
> > For example, I tried to execute a "sinfo" command from an external shell
> > script but it didn't work.
> > Does Slurm prohibit to execute any Slurm command from the Lua job_submit
> > command?
> > Thanks,
> > - Chansup
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the slurm-users