At our site, we would like to be able to access the value given for --network at job submission from the job_submit/lua plugin. 1. We don't like that invalid --network values are ignored, and we would like to explicitly reject jobs with bogus flags like '--network=foo'. 2. We would like to be able to restrict access to network plugins by filtering by account.
Created attachment 17673 [details] [PATCH] job_submit/lua - add network field
I have no problem with the additional field, but I'm a bit concerned about throwing NVIDIA copyright blocks into files with trivial changes. Is there a strong reason NVIDIA needs these added in?
I'll get back to you on that.
Created attachment 17790 [details] [PATCH] job_submit/lua - add network field (v2) I finally got my questions resolved. I've re-attached the patch after removing the needless copyright header.
Comment on attachment 17790 [details] [PATCH] job_submit/lua - add network field (v2) commit f8a65bea7005f2c2a34328c49256ec43324e869d Author: Luke Yeager <lyeager@nvidia.com> AuthorDate: Fri Feb 5 08:51:42 2021 -0800 job_submit/lua - add network field Allows job_submit/lua to access the --network field used for job submission. This can be used to conditionally reject jobs with an invalid (network, account) combination, for example. Bug 10737
Thanks Luke. In ahead of 20.11.4.