Hi,

Is there a way to change/control the primary node (i.e. where the initial task starts) as part of a job's allocation.

For eg, if a job requires 6 CPUs & its allocation is distributed over 3 hosts h1, h2 & h3 I find that it always starts the task in 1 particular
node (say h1) irrespective of how many slots were available in the hosts.

Can we somehow let slurm have the primary node as h2?

Is there any C-API inside select plugin which can do this trick if we were to control it through the configured select plugin?

Thanks.
-Bhaskar.