Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] compiling from source from svn
From: Karsten Bolding (karsten_at_[hidden])
Date: 2008-05-16 10:17:37


Hello

Due to a new feature - direct mapping between machinefile and rank - I
want to try out the svn version. However, I run into compilation
probloms. Here is what I do after I've updated svn.

kb_at_gate:/data/kb/compile/openmpi-svn$ ./autogen.sh
kb_at_gate:/data/kb/compile/openmpi-svn$ mkdir build
kb_at_gate:/data/kb/compile/openmpi-svn$ cd build
kb_at_gate:/data/kb/compile/openmpi-svn/build$ ../configure
--prefix=/opt/openmpi-svn/ F77=ifort F90=ifort
kb_at_gate:/data/kb/compile/openmpi-svn/build$ make

lots of compilation is going on - and then

make[2]: Entering directory
`/data/kb/compile/openmpi-svn/build/orte/tools/orted'
depbase=`echo orted.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        gcc -DHAVE_CONFIG_H -I. -I../../../../orte/tools/orted
-I../../../opal/include -I../../../orte/include -I../../../ompi/include
-I../../../opal/mca/paffinity/linux/plpa/src/libplpa -I../../../..
-I../../.. -I../../../../opal/include -I../../../../orte/include
-I../../../../ompi/include -O3 -DNDEBUG -finline-functions
-fno-strict-aliasing -pthread -fvisibility=hidden -MT orted.o -MD -MP
-MF $depbase.Tpo -c -o orted.o ../../../../orte/tools/orted/orted.c &&\
        mv -f $depbase.Tpo $depbase.Po
/bin/sh ../../../libtool --tag=CC --mode=link gcc -O3 -DNDEBUG
-finline-functions -fno-strict-aliasing -pthread -fvisibility=hidden
-export-dynamic -o orted orted.o ../../../orte/libopen-rte.la -lnsl
-lutil -lm
mkdir .libs
gcc -O3 -DNDEBUG -finline-functions -fno-strict-aliasing -pthread
-fvisibility=hidden -o .libs/orted orted.o -Wl,--export-dynamic
../../../orte/.libs/libopen-rte.so -lnsl -lutil -lm -Wl,--rpath
-Wl,/opt/openmpi-svn//lib
../../../orte/.libs/libopen-rte.so: undefined reference to
`mca_base_select'
../../../orte/.libs/libopen-rte.so: undefined reference to
`opal_output_vverbose'
../../../orte/.libs/libopen-rte.so: undefined reference to
`opal_output_vstring'
../../../orte/.libs/libopen-rte.so: undefined reference to
`opal_tmp_directory'
../../../orte/.libs/libopen-rte.so: undefined reference to
`opal_show_help_vstring'
../../../orte/.libs/libopen-rte.so: undefined reference to `opal_filter'
../../../orte/.libs/libopen-rte.so: undefined reference to
`opal_home_directory'
../../../orte/.libs/libopen-rte.so: undefined reference to
`opal_arch_compute_local_id'
collect2: ld returned 1 exit status
make[2]: *** [orted] Error 1
make[2]: Leaving directory
`/data/kb/compile/openmpi-svn/build/orte/tools/orted'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/kb/compile/openmpi-svn/build/orte'
make: *** [all-recursive] Error 1

The shared library libopen-rte.so does not seem to exist at all.

Karsten

-- 
----------------------------------------------------------------------
Karsten Bolding                    Bolding & Burchard ApS
Strandgyden 25                     Phone: +45 64422058
DK-5466 Asperup                    Fax:   +45 64422068
Denmark                            Email: karsten_at_[hidden]
http://www.findvej.dk/Strandgyden25,5466,11,3
----------------------------------------------------------------------