Hello, 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 /root/Desktop/openmpi-1.3/bin:/usr/lib/qt3/bin:/root/Desktop/openmpi-1.3/bin:/usr/lib/qt3/bin:/sbin:/usr/sbin:/usr/local/sbin:/opt/kde3/sbin:/opt/gnome/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin echo $LD_LIBRARY_PATH /root/Desktop/openmpi-1.3/lib:/usr/lib/qt3/lib:/root/Desktop/openmpi-1.3/lib:/usr/lib/qt3/lib: 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. Regards, Jovana K.
ompi_support.tar
Description: Unix tar archive