Software Archive
Read-only legacy content
17060 Discussions

Runing MPI program got wrong, it just stopped

zhang_f_
Beginner
2,076 Views

Hi,

I'm trying to run MPI program on MIC and host at the same time, but it get stuck and nothing reported. So I use ctrl+c to stop it.

I followed the below article:

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

 

The command I use is as follows:

Situation 1:  172.31.1.254 is the CPU part, and this is fine.

$ mpiexec.hydra -host 172.31.1.254 -n 2 ./a.out Hello world: rank 1 of 2 running on Tsinghua3MIC
Hello world: rank 0 of 2 

Situation 2: 172.31.1.1 is the MIC card, and it gets stuck. Nothing appears.

$ mpiexec.hydra  -host 172.31.1.1 -n 2 -wdir /home/pacman ./a.out.mic

 

I also try to use both.It also  gets stuck. Could anyone help?

$ mpiexec.hydra -host 172.31.1.254 -n 1 ./a.out : -host 172.31.1.1 -n 2 -wdir /home/pacman ./a.out.mic

 

 

 

0 Kudos
1 Reply
TimP
Honored Contributor III
2,076 Views

Check the docs which come with Intel MPI for omissions in the doc you followed

https://software.intel.com/sites/default/files/article/327178/intelmpi4.1-releasenotes-linux-addendum-for-mic.pdf

In particular,

I_MPI_MIC=enable

.....

0 Kudos
Reply