Going in a completely different direction than you’d planned, but for the same 
goal, what about making a script (shell, Python, or otherwise) that could 
validate all the constraints and call the scontrol program if appropriate, and 
then run that script via “sudo” as one of the regular users?

From: slurm-users <slurm-users-boun...@lists.schedmd.com> on behalf of Paolo 
Viviani <paolo.vivi...@linksfoundation.com>
Date: Monday, August 8, 2022 at 9:49 AM
To: slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com>
Subject: [slurm-users] Allow regular users to make reservations

External Email Warning

This email originated from outside the university. Please use caution when 
opening attachments, clicking links, or responding to requests.

________________________________
Hello,
I’m planning to develop a plugin for SLURM that would allow regular users to 
create reservations respecting some specific constraints on time/resources 
requested.
Do you think it would be feasible to implement it as a plugin, or that would 
necessarily require modification of SLURM code? In case of a plugin, are there 
different entry point other than job submit?

Thanks in advance!
Paolo

Reply via email to