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

101 views
Skip to first unread message

Ransom, Geoffrey M.

unread,
Mar 20, 2021, 3:18:49 PM3/20/21
to Slurm User Community List

 

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

Reply all
Reply to author
Forward
0 new messages