Software Archive
Read-only legacy content
17061 Discussions

Co-processor only fine. But Symmetric & Offload not work.

britz0907
Beginner
422 Views

Hello, I want to generate xeon phi workstation using intel MPI.

Thus, I've already set up xeon phi and run test code using below thread.

http://software.intel.com/en-us/articles/using-the-intel-mpi-library-on-intel-xeon-phi-coprocessor-systems

However, MPI Offload model & Symmetric model is not working with this error message if I run below MPI task.

[root@localhost monte_carlo_simulation_code]# mpirun -n 2 -host mic0 /root/montecarlo_mic/montecarlo.mic

(I've compiled montecarlo.mic using mpiicc –mmic montecarlo.c -o montecarlo.mic Then, I send montecarlo.mic on mic0(/root/montecarlo) 

[mpiexec@montecarlo.mic] HYDU_getfullhostname (./utils/others/others.c:136): getaddrinfo error (hostname: montecarlo.mic, error: Name or service not known)

[mpiexec@montecarlo.mic] HYDU_sock_create_and_listen_portstr (./utils/sock/sock.c:999): unable to get local hostname
[mpiexec@montecarlo.mic] HYD_pmci_launch_procs (./pm/pmiserv/pmiserv_pmci.c:313): unable to create PMI port
[mpiexec@montecarlo.mic] main (./ui/mpich/mpiexec.c:877): process manager returned error launching processes

And my information of /etc/hosts is(host)

cat /etc/hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
172.31.1.1    mic0.local mic0

---------------------------------------------------------------------

cat /etc/hosts0(Coprocessor)

127.0.0.1    localhost.localdomain localhost

::1        localhost.localdomain localhost

172.31.1.254    host
172.31.1.1    mic0.local mic0

 

I've checked similar situation compared with me, And I've read below article

http://software.intel.com/en-us/forums/topic/500752

But I cannot resolve this problem. How do I ??

 

Thanks

 

0 Kudos
1 Reply
Loc_N_Intel
Employee
422 Views

Hi,

I assume that you already ran the application successfully from the coprocessor (ssh mic0), right?

From the log: "hostname: montecarlo.mic, error: Name or service not known", it seems like it confuses your host and your application.

What MPSS version, compiler version, MPI library version are you using? Also, it is helpful if you can show the output from the micinfo command. Thank you.

0 Kudos
Reply