On Wed, Jul 18, 2007 at 09:08:47AM -0600, Ralph H Castain wrote: > But this will lockup: > > pn1180961:~/openmpi/trunk rhc$ mpirun -n 1 -host pn1180961 printenv | grep > LD > > The reason is that the hostname in this last command doesn't match the > hostname I get when I query my interfaces, so mpirun thinks it must be a > remote host - and so we stick in ssh until that times out. Which could be > quick on your machine, but takes awhile for me. > This is not my case. mpirun resolves hostname and runs env but LD_LIBRARY_PATH is not there. If I use full name like this # /home/glebn/openmpi/bin/mpirun -np 1 -H elfit1.voltaire.com env | grep LD_LIBRARY_PATH LD_LIBRARY_PATH=/home/glebn/openmpi/lib
everything is OK. -- Gleb.