Re: [slurm-users] random allocation of resources

2021-12-01 Thread Christopher Samuel
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 S

Re: [slurm-users] random allocation of resources

2021-12-01 Thread Brian Andrus
OCHARD wrote: Hello, I think you are looking for the LLN option (Least Loaded Nodes): https://slurm.schedmd.com/slurm.conf.html#OPT_LLN Guillaume - Mail original - De: "Benjamin Nacar" À: slurm-users@lists.schedmd.com Envoyé: Mercredi 1 Décembre 2021 20:07:23 Objet: [slurm-u

Re: [slurm-users] random allocation of resources

2021-12-01 Thread Benjamin Nacar
rm.schedmd.com/slurm.conf.html#OPT_LLN Guillaume - Mail original - De: "Benjamin Nacar" À: slurm-users@lists.schedmd.com Envoyé: Mercredi 1 Décembre 2021 20:07:23 Objet: [slurm-users] random allocation of resources Hi, Is there a scheduling option such that, when there are mul

Re: [slurm-users] random allocation of resources

2021-12-01 Thread mercan
Hi; The Slurm is selecting the nodes according to the weight parameter of the nodes. I don't know any settings to change the way of the selecting node, except the changing values of the weights. But it is not a suitable for the randomly selecting nodes. Fortunately, absolutely there is not a

Re: [slurm-users] random allocation of resources

2021-12-01 Thread Guillaume COCHARD
Hello, I think you are looking for the LLN option (Least Loaded Nodes): https://slurm.schedmd.com/slurm.conf.html#OPT_LLN Guillaume - Mail original - De: "Benjamin Nacar" À: slurm-users@lists.schedmd.com Envoyé: Mercredi 1 Décembre 2021 20:07:23 Objet: [slurm-users] random

[slurm-users] random allocation of resources

2021-12-01 Thread Benjamin Nacar
Hi, Is there a scheduling option such that, when there are multiple nodes that are equivalent in terms of available and allocated resources, Slurm would select randomly from among those nodes? I've noticed that if no other jobs are running, and I submit a single job via srun, with no paramet