Hi Saliya,
What you want to do is map-by node. So please try below: -np 2 --map-by node:pe=4 --bind-to core You might not need to add --bind-to core, because it's default binding. Tetsuya > Hi, > > I see in v.1.7.5rc5 --cpus-per-proc is deprecated and is advised to replace by --map-by <obj>:PE=N. > I've tried this but I couldn't get the expected allocation of procs. > > For example I was running 2 procs on 2 nodes each with 2 sockets where a socket has 4 cores. I wanted 1 proc per node and bound to all cores in one of the sockets. I could get this by using > > --bind-to core: --map-by ppr:1:node --cpus-per-proc 4 -np 2 > > Then it'll show bindings as > > [i51:32274] MCW rank 0 bound to socket 0[core 0[hwt 0]], socket 0[core 1 [hwt 0]], socket 0[core 2[hwt 0]], socket 0[core 3[hwt 0]]: [B/B/B/B][./././.] > [i52:31765] MCW rank 1 bound to socket 0[core 0[hwt 0]], socket 0[core 1 [hwt 0]], socket 0[core 2[hwt 0]], socket 0[core 3[hwt 0]]: [B/B/B/B][./././.] > > > Is there a better way without using -cpus-per-proc as suggested to get the same effect? > > Thank you, > Saliya > > > > -- > Saliya Ekanayake esal...@gmail.com > Cell 812-391-4914 Home 812-961-6383 > http://saliya.org_______________________________________________ > users mailing list > users@open-mpi.orghttp://www.open-mpi.org/mailman/listinfo.cgi/users