Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] mpirun problem
From: Jovana Knezevic (jovana.knezevic.83_at_[hidden])
Date: 2009-02-24 06:52:32


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),
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.

There may be more information reported by the environment (see above).

This may be because the daemon was unable to find all the needed shared
libraries on the remote node. You may set your LD_LIBRARY_PATH to have the
location of the shared libraries on the remote nodes and this will
automatically be forwarded to the remote nodes.
mpirun noticed that the job aborted, but has no info as to the process
that caused that situation.
mpirun: clean termination accomplished

Those are the PATH and LD_LIBRARY_PATH variables (I changed profile
file manually and those are the results:)

/* note: openmpi-1.3 folder with the instalation is in /root/Desktop ,
I configured it with --prefix /root/Desktop/openmpi-1.3, so bin and
lib folders are in /root/Desktop/openmpi-1.3 */

echo $PATH


I included in Attachment the 'omp-info' and 'ifconfig' - command
results in separate files as well as compressed config.log file from
the root folder of the instalation

Thank you very much in advance for your help.

Jovana K.