I suppose one initial question is: what version of Open MPI are you
running? OMPI 1.3 should not be attempting to ssh a daemon on a local
job like this - OMPI 1.2 -will-, so it is important to know which one
we are talking about.
Just do "mpirun --version" and it should tell you.
Ralph
On Mar 4, 2009, at 1:09 PM, Jeff Squyres wrote:
Sorry for the delay in replying; the usual INBOX deluge keeps me
from being timely in replying to all mails... More below.
On Feb 24, 2009, at 6:52 AM, Jovana Knezevic wrote:
I'm new to MPI, so I'm going to explain my problem in detail
I'm trying to compile a simple application using mpicc (on SUSE 10.0)
and run it - compilation passes well, but mpirun is the problem.
So, let's say the program is called 1.c, I tried the following:
mpicc -o 1 1.c
(and, just for the case, after problems with mpirun, I tried the
following, too)
mpicc --showme:compile
mpicc --showme:link
mpicc -I/include -pthread 1.c -pthread -I/lib -lmpi -lopen-rte
-lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl -o 1
Both versions (wih or without flags) produced executables as expected
(so, when I write: ./1 it executes in expected manner),
Good.
but when I try this:
mpirun -np 4 ./1,
it terminates giving the following message:
ssh: (none): Name or service not known
--------------------------------------------------------------------------
A daemon (pid 6877) died unexpectedly with status 255 while
attempting
to launch so we are aborting.
That's fun; it seems like OMPI is not recognizing localhost properly.
Can you use the --debug-daemons and --leave-session-attached options
to mpirun and see what output you get?
--
Jeff Squyres
Cisco Systems
_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users