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
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


Reply via email to