Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] OpenMPI does not see other nodes
From: Nico Mittenzwey (nico.mittenzwey_at_[hidden])
Date: 2011-01-21 08:58:02

On 01/21/2011 12:26 PM, Steffen Brinkmann wrote:
> /home_dir/openmpi-1.4.3_installation/bin/mpirun -n 32 hostname
> returns 32 times the same node.
> What did I do wrong???

You need to tell OpenMPI on which hosts to run - for example by suppling
a host file:

/home_dir/openmpi-1.4.3_installation/bin/mpirun -n 32 --hostfile
./myhosts hostname

But you should have courses on that in Stuttgart.... ;) SCNR