[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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the slurm-users