Software Archive
Read-only legacy content
17061 Discussions

Phi in accelerator mode require mic0/1 entries in /etc/hosts?

Gilad_Berman
Beginner
394 Views

Hello,

In case we are using the Phi in "accelerator mode" only, means all IP configurations are defaults and no OFED. code compile only for off-loading. does the system must have name resolution for mic0/1 or the data transfer to the Phi cards works on a lower layer? 

I assume this is not needed (otherwise each node in the cluster would have to have different /etc/hosts file) but i just want to make sure.

thx in advance!

0 Kudos
1 Reply
Frances_R_Intel
Employee
394 Views

Each coprocessor must have an entry in the /etc/hosts file on its host node. But that doesn't necessarily mean that the /etc/hosts file needs to be different on each node. If you have the network between the host and its coprocessor(s) set up as a StaticPair (see section 4.4.4.3 in the Intel® Manycore Platform Software Stack (Intel® MPSS) Boot Configuration Guide that comes with the MPSS) then you can use the same address in each case by choosing an address from the private address range. The default used by micctrl is 172.31.0.1 for mic0, 172.31.0.2 for mic1, and so on.

If you decide you want to change your programming model and have a coprocessor on one node reachable from another node, then you will need to set up a bridge on the home node and of course the address of each coprocessor will need to be unique but the /etc/hosts file will still be identical on each node, just a lot bigger.

0 Kudos
Reply