Trying to wrap my head around this, so let me try a 2-node example. You want 
(each rank bound to a single core):

ranks 0-3 to be mapped onto node1
ranks 4-7 to be mapped onto node2
ranks 8-11 to be mapped onto node1
ranks 12-15 to be mapped onto node2
etc.etc.

Correct?

> On Jan 28, 2021, at 3:00 PM, Luis Cebamanos via users 
> <users@lists.open-mpi.org> wrote:
> 
> Hello all,
> 
> What are the options for binding MPI tasks on a blocks of cores per 
> node/socket/numa in a round-robin fashion? Say I want to fully populate 40 
> core sockets on dual-socket nodes but in a round-robin fashion binding 4 
> cores on the first node, then 4 cores on the next, and so on.  Would be 
> ``--bind-to core``?
> 
> srun can do this with ``distribution=plane`` so one could do ``srun 
> --distribution=plane=4``.
> 
> cheers
> 
> 


Reply via email to