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-220.127.116.11) 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':
> 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!
> users mailing list