Closed clemsgrs closed 1 month ago
There should be no need to pass --with-lua
as it is enabled by default https://github.com/SchedMD/slurm/blob/e9e167304503cad92c57ed78f59ea3cab7b7ddb0/configure#L26665 and Lua support gets built if Slurm finds the Lua package installed. Double check if the package is indeed installed (as per the Slurm configure
file versions 5.1-5.4 seem to be supported).
If you did not update the Slurm version you may need to force a recompile of Slurm by setting the variable slurm_force_rebuild: yes
, see https://github.com/NVIDIA/deepops/blob/6186cf17726f51dede6d8c277f0184c16d21752c/roles/slurm/defaults/main.yml#L21.
that did the trick, thank you for the fast reply! much appreciated :)
hi, i'd like to use a Lua job submission script to enforce some QoS related things. However, i cannot get it to work.
Here is a step-by-step description of what i did:
config/group_vars/all.yml
to add installation of lua dev packageroles/slurm/defaults/main.yml
to add the--with-lua
flag inslurm_configure
:slurm.conf
to add the following:Once the cluster deployed, i check
/var/log/slurm/slurmctld.log
where i can see the following error:If i check under
/usr/local/lib/slurm/
, there is nojob_submit_lua.so
! I'm a bit lost as to what i should do now.