Hi Michael,
That’s indeed a good idea and currently is my fallback solution, the reasons 
for investigating a slurm plugin solution first are the following:
1) I’m in contact with a couple of supercomputing centers that are interested 
in the feature but thwy would prefer something integrated with slurm instead of 
another piece of infrastructure to maintain.
2) The constraints I would apply to the reservations are related also to the 
current state of the scheduler and the queues, in principle I should be able to 
extract such information from squeue, but having access to the internal data 
structure would make it much faster, reducing the chance to make wrong 
decisions for the placement of the reservation.

Thanks!
Paolo

----------------------------------------------------------------------

Message: 1
Date: Mon, 8 Aug 2022 15:36:27 +0000
From: "Renfro, Michael" <ren...@tntech.edu<mailto:ren...@tntech.edu>>
To: Slurm User Community List 
<slurm-users@lists.schedmd.com<mailto:slurm-users@lists.schedmd.com>>
Subject: Re: [slurm-users] Allow regular users to make reservations
Message-ID:
        
<bn7pr07mb4388c24a4c3f192fcb1d6371a2...@bn7pr07mb4388.namprd07.prod.outlook.com<mailto:bn7pr07mb4388c24a4c3f192fcb1d6371a2...@bn7pr07mb4388.namprd07.prod.outlook.com>>

Content-Type: text/plain; charset="windows-1252"

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?


Reply via email to