Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

Multi Mic affinity

ale3
Beginner
775 Views

I would like to run a heterogeneous program on a multi node cluster where each node comes with 2 MIC devices.
Let's consider for example 2 dual-sockets nodes:

-------------------        -------------------
--- NODE 1 --        --- NODE 2 --
       |                            |
 S    |  S                 S    |  S   
 o     |  o                 o    |  o   
 c     |  c                 c    |  c   
 k     |  k                 k    |  k   
 e     |  e                 e    |  e   
 t      |  t                  t    |  t   
 #1    |  #2              #1   |  #2  
-------------------        -------------------
MIC0  | MIC1         MIC0  | MIC1
-------------------        -------------------

If I execute 4 mpi processes, how can I assure that each mpi process will run on a different socket, and that each mpi-rank will offload on the MIC device connected to the socket where it is executed?

0 Kudos
1 Reply
Sunny_G_Intel
Employee
775 Views

Hi Ale,

Did you try using  "mpirun -ppn 2 -np 4 I_MPI_PIN_DOMAIN=socket ....".

Also I am assuming that you have Intel Xeon Phi coprocessors configured in external bridge topology and are able to ping each other across cluster.

Thanks

0 Kudos
Reply