[slurm-users] Re: Change primary alloc node

2024-11-03 Thread Brian Andrus via slurm-users
Bhaskar, As I think about it, that assignment of process 0's node may well be something that is from your mpi, since that is where you can decide how to layout the processes (pack a node or equally, etc). I would look at the options/settings that apply to the particular flavor of mpi you are

[slurm-users] Re: Slurm Job Sched Priority

2024-11-03 Thread Paul Edmon via slurm-users
Sadly I don't have any deeper insight into the C API for that information. -Paul Edmon- On 11/3/2024 2:14 AM, Bhaskar Chakraborty wrote: Hi Paul, Thanks for the tip. Looking at the code it seems to compare each job’s priority variable through its job_ptr. I did some experiments where I log t

[slurm-users] Re: Slurm Job Sched Priority

2024-11-03 Thread Bhaskar Chakraborty via slurm-users
Hi Paul,Thanks for the tip. Looking at the code it seems to compare each job’s priorityvariable through its job_ptr. I did some experiments where I log the priority variable in job_ptrfor successive jobs submitted from same user. However, I find them equal and so they don’t reflect the first-come

[slurm-users] Re: Change primary alloc node

2024-11-03 Thread Bhaskar Chakraborty via slurm-users
Hi Brian,Thanks for the response!However, this particular approach where we need to accept whatever slurm gives us as starting nodeand deal with it accordingly doesn’t work for us. I think there should be flexibility in slurm to switch the starting node as requested,through some C API. This is p