You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a newbie in Slurm, Lua and even spank-lua plugin, I have a confusion which I would like to share with you guys, and ask for your inputs.
For the management of our clusters, we are starting to use Slurm, and we would like to include some tailored plugins using the spank-lua plugin. However, when I go through the man spank-lua and also the spank.h, I have a feeling that not all sbatch/srun/salloc arguments are made accessible via the spank-lua. Please correct me if I am wrong.
Indeed, some options are, such as S_JOB_NNODES, but the list in spank.h is very limited to some cherry-picked subset of options and not all of them.
To give a concrete example which is also relevant in my case, I would like to set some policies for the values of --cluster or --partition submit arguments that users specify at submit time. However, I cannot find an ITEM to use in a call to spank:get_item(ITM) which exposes, e.g. the value of the --partition option.
My question is: How is it possible to expose "all" submit arguments of sbatch, salloc, srun commands inside the spank-lua plugin script?
Thanks in advance for your support.
The text was updated successfully, but these errors were encountered:
Hi.
As a newbie in Slurm, Lua and even spank-lua plugin, I have a confusion which I would like to share with you guys, and ask for your inputs.
For the management of our clusters, we are starting to use Slurm, and we would like to include some tailored plugins using the spank-lua plugin. However, when I go through the
man spank-lua
and also thespank.h
, I have a feeling that not allsbatch/srun/salloc
arguments are made accessible via the spank-lua. Please correct me if I am wrong.Indeed, some options are, such as
S_JOB_NNODES
, but the list inspank.h
is very limited to some cherry-picked subset of options and not all of them.To give a concrete example which is also relevant in my case, I would like to set some policies for the values of
--cluster
or--partition
submit arguments that users specify at submit time. However, I cannot find anITEM
to use in a call tospank:get_item(ITM)
which exposes, e.g. the value of the--partition
option.My question is: How is it possible to expose "all" submit arguments of
sbatch, salloc, srun
commands inside the spank-lua plugin script?Thanks in advance for your support.
The text was updated successfully, but these errors were encountered: