Hi,

I have encountered a problem with openmpi I can't seem to be able to
diagnose or find precedence in in the mailing-list. I have two pc's with
a fresh install of Arch linux and openmpi 1.8.1. One is a dedicated PC
and the other is a virtualbox installation. The virtualbox install is
the master and I'm able to use mpirun without a problem (compiled a
small program that prints to stdout). In and output are as follows:

> $ mpirun -n 4 -hostfile mpiHosts myprogram 
> hello MPI user: from process = 1 on machine=vArch, of NCPU=4 processes
> hello MPI user: from process = 0 on machine=vArch, of NCPU=4 processes
> hello MPI user: from process = 2 on machine=vArch, of NCPU=4 processes
> hello MPI user: from  process = 3 on machine=vArch, of NCPU=4
processes

Running programs on a single machine is not a problem. Also I'm able to
log into both machines using ssh without the need for a password so
communication between the machines should be oke. However when I add the
second host to the hostfile the I get no more feedback. What I mean with
this is that I get the following.

> $ echo "10.5.10.224 slots=4" >> mpiHosts $ mpirun -n 8 -hostfile 
> $ mpirun -n 4 -hostfile mpiHosts myprogram 
> 

No output is returned. I'm not sure if this is intended behavior but it
seems incorrect to me. Can anyone provide me with some insight as to why
I'm observing this en how I can diagnose the problem.

Regards,
TWij

Reply via email to