[slurm-users] How does cli_filter.lua tell if srun is inside an existing allocation?

Ransom, Geoffrey M. Geoffrey.Ransom at jhuapl.edu
Sat Mar 20 19:18:08 UTC 2021


Hello
   We are setting up a lua cli_filter to coerce users to set certain options for their jobs (tracked but non-accounted wckeys) and noticed that the cli_filer.lua script runs for srun step and job allocations.

How should a cli_filter.lua script detect if it is inside a step or job allocation?

If there is documentation that explains behaviors like this for lua cli_filters, any pointers/URLs will be appreciated. The schedmd documentation on it seems rather limited.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210320/d1e0bd54/attachment.htm>


More information about the slurm-users mailing list