[slurm-users] Job step do not take the hole allocation
    Bjørn-Helge Mevik 
    b.h.mevik at usit.uio.no
       
    Fri Jun 30 13:33:40 UTC 2023
    
    
  
Hei, Ole! :)
Ole Holm Nielsen <Ole.H.Nielsen at fysik.dtu.dk> writes:
> Can anyone she light on the relationship between Tommi's
> slurm_cli_pre_submit function and the ones defined in the
> cli_filter_plugins page?
I think the *_p_* functions are functions you need to implement if you
write a cli plugin in C.  When you write a cli plugin-script in Lua, you write
Lua functions called slurm_cli_setup_defaults, slurm_cli_pre_submit,
etc in the Lua code, and then the C-code of the Lua plugin itself
implements the *_p_* functions (I believe).
That said, I too found it hard to find any documentation of the Lua
plugin.  Eventually, I found an example script in the Slurm source code
(etc/cli_filter.lua.example), which I've taken as a starting point for
my cli filter plugin scripts.
-- 
B/H
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20230630/bf059b17/attachment.sig>
    
    
More information about the slurm-users
mailing list