I use sbatch to allocate an MPI job with (let's say) 8 ranks.
I use 4 nodes: node0[01-04]
.
I would like to bind rank 0 to the first node (node001
) and the other ranks to the other nodes (node0[02-04]
).
How can it be done using sbatch?
Thank you!