Software Archive
Read-only legacy content
17060 Discussions

I need to specify -iface br0 to run on mic's [SOLVED]

Anders_H_
Beginner
624 Views

Hi,

As explained in https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/602095, in order to run native mode on my Xeon Phi cards, I need to specify -iface br0 (or -iface virbr0) when running mpirun. If I don't I get the errors mentioned in the link:

    [proxy:0:0@kif-mic0] HYDU_sock_connect (../../utils/sock/sock.c:268): unable to connect from "kif-mic0" to "127.0.0.1" (Connection refused)
    [proxy:0:0@kif-mic0] main (../../pm/pmiserv/pmip.c:415): unable to connect to server 127.0.0.1 at port 35690 (check for firewalls!)

So two questions: 
1) why doesn't it work without specifying an interface?
2) is it possible to set default -iface globally?

 

0 Kudos
2 Replies
Artem_R_Intel1
Employee
624 Views

Hi Anders,

The root cause of the problem is specific network settings. Could you please try the solutions suggested in the topic Cannot start MPI job from host system'-localhost' option or correct network settings (for example via /etc/hosts editing). Alternatively you can use '-iface' option or corresponding I_MPI_HYDRA_IFACE environment variable.

0 Kudos
Anders_H_
Beginner
624 Views

Hey,

Thanks for the quick reply. In my host's /etc/hosts, I had a line [kif is the host]:
127.0.0.1 kif

and by removing that, everything works as normal. Not really sure why or when I added that line.

Thank you so much!

0 Kudos
Reply