[slurm-users] random allocation of resources

Christopher Samuel chris at csamuel.org
Wed Dec 1 23:43:11 UTC 2021


On 12/1/21 3:27 pm, Brian Andrus wrote:

> If you truly want something like this, you could have a wrapper script 
> look at available nodes, pick a random one and set the job to use that 
> node.

Alternatively you could have a cron job that adjusted nodes `weight` 
periodically to change which ones Slurm will prefer to use over time 
(everything else being equal Slurm picks nodes with the lowest weight).

Hope this helps!
Chris
-- 
   Chris Samuel  :  http://www.csamuel.org/  :  Berkeley, CA, USA



More information about the slurm-users mailing list