[slurm-users] Re: Randomly draining nodes

2024-10-08 Thread Laura Hild via slurm-users
Apologies if I'm missing this in your post, but do you in fact have a Prolog 
configured in your slurm.conf?


-- 
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com


[slurm-users] Re: How does --nodes=min[-max] determine number of nodes to allocate?

2024-10-08 Thread Renfro, Michael via slurm-users
Not so much about the source, but in the sbatch documentation [1], I think the 
--begin and --nodes parameters might interact. And yes, this is semi-educated 
speculation on my part.

From the nodes= section, “The job will be allocated as many nodes as possible 
within the range specified and without delaying the initiation of the job.” So 
without specifying a begin time, the scheduler will look for the first 
available time it can schedule the minimum number of nodes requested. If it can 
find more nodes, up to the maximum requested, then you’d get a higher number of 
nodes at that time.

[1] 
https://slurm.schedmd.com/sbatch.html

From: Declan Valters via slurm-users 
Date: Tuesday, October 8, 2024 at 10:36 AM
To: slurm-users@lists.schedmd.com 
Subject: [slurm-users] How does --nodes=min[-max] determine number of nodes to 
allocate?

External Email Warning

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


Hi,

I am trying to understand how Slurm determines the actual number of nodes to 
allocate to a job specified with –nodes=min[-max]

I’ve been trying to follow the source code through on Github – could anyone 
point me in the right area(s)/source files/functions to look at to understand 
the program logic behind this.

Many thanks in advance,

Declan

The University of Edinburgh is a charitable body, registered in Scotland, with 
registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh 
Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.

-- 
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com


[slurm-users] How does --nodes=min[-max] determine number of nodes to allocate?

2024-10-08 Thread Declan Valters via slurm-users
Hi,

I am trying to understand how Slurm determines the actual number of nodes to 
allocate to a job specified with -nodes=min[-max]

I've been trying to follow the source code through on Github - could anyone 
point me in the right area(s)/source files/functions to look at to understand 
the program logic behind this.

Many thanks in advance,

Declan

The University of Edinburgh is a charitable body, registered in Scotland, with 
registration number SC005336. Is e buidheann carthannais a th' ann an Oilthigh 
Dh?n ?ideann, cl?raichte an Alba, ?ireamh cl?raidh SC005336.

-- 
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com