tags:

views:

46

answers:

0

Hi all.

I'm just using OpenMPI for few days. I'll try to run a simple MPI program, the program is ProcessColors which I get from CI-Tutor. I have 2 hosts, if I run the program separately on each one, it runs well. However, if I run it on two host using following command: mpirun --host host1,host2 --preload-binary -np 8 ProcessColors. The program hangs out.

When I use command ps -A to check running process, I find out that there is 4 processes running on each host. So, I think that there is a deadlock on my program, but why it runs well with single host?

All those following commands run without any problem on both machine:

  • mpirun -np 8 ProcessColors
  • mpirun --host host1 -np 8 ProcessColors
  • mpirun --host host2 -np 8 ProcessColors

Any help from you is precious to me.

Regards.

Long Thai.