Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Problem with openmpi-default-hostfile
From: Ralph Castain (rhc_at_[hidden])
Date: 2011-11-06 22:11:47


Where did you install OMPI? If you check "which mpirun", does it point to the same installation where you edited the default hostfile?

On Nov 6, 2011, at 6:16 PM, Lukas Razik wrote:

> Hello together!
>
> I've built v1.4.3 (which was in OFED-1.5.3.2) and v1.4.4 (from you website).
> But in both versions I've the following problem:
>
> If I write some hosts into '/usr/mpi/gcc/openmpi-1.4.4/etc/openmpi-default-hostfile':
> cluster1
> cluster2
> cluster3
> cluster4
> and execute 'mpirun -np 4 <app>" then only the local host is used.
>
> If I execute 'mpirun -hostfile /.../openmpi-default-hostfile -np 4 <app>' all works fine.
> So have I done something wrong or is there another possibility to set a system-wide list of default hosts (i.e. for all users)?
>
> Many thanks for any help!
>
> Regards,
> Lukas
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users