Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] Problems compiling OPENMPI !!
From: koppole_at_[hidden]
Date: 2008-04-22 05:01:56


Hello there,

I downloaded openmpi-1.2.5.tar and "un-tar"'ed it with tar -xvf
openmpi-1.2.5.tar which created a directory openmpi-1.2.5.

I then created a build directory and called

../openmpi-1.2.5/configure --prefix=$home/openmpi FC=ifort64
F77=ifort64 F95=ifort64 CC=icc64 CXX=icpc | & tee config.out

Everything went fine.

I then said : make -j 8 | & tee make.out and the compilation crashed
with:

/bin/sh ../../../libtool --tag=CXX --mode=link icpc -O3 -DNDEBUG
-finline-functions -pthread -export-dynamic -o libmpi_cxx.la -rpath
/usr/people/camm/kopposa1/openmpi/lib mpicxx.lo intercepts.lo comm.lo
datatype.lo file.lo win.lo -lnsl -lutil

libtool: link: icpc -shared .libs/mpicxx.o .libs/intercepts.o
.libs/comm.o .libs/datatype.o .libs/file.o .libs/win.o -lnsl -lutil
-L/usr/prog/intel/cce/101015/lib
-L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/
-L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64 -limf -lsvml
-lipgo /usr/people/camm/kopposa1/gcc64/lib/../lib64/libstdc++.a
-L/scratch/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/scratch/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/scratch/gcc/./gcc -L/lib/../lib64 -L/usr/lib/../lib64 -lm -lgcc
-lintlc -lpthread -lgcc_s -lirc_s -ldl -lc -pthread -pthread
-Wl,-soname -Wl,libmpi_cxx.so.0 -o .libs/libmpi_cxx.so.0.0.0

ld:
/usr/people/camm/kopposa1/gcc64/lib/../lib64/libstdc++.a(ios_init.o):
relocation R_X86_64_32 against `pthread_cancel' can not be used when
making a shared object; recompile with -fPIC

/usr/people/camm/kopposa1/gcc64/lib/../lib64/libstdc++.a: could not
read symbols: Bad value

make[3]: *** [libmpi_cxx.la] Error 1

make[3]: Leaving directory `/scratch/openmpi/ompi/mpi/cxx'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/scratch/openmpi/ompi/mpi'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/scratch/openmpi/ompi'

make: *** [all-recursive] Error 1

FYI: I am attaching the zipped make.out and config.out files.

Thanks a lot for your help,

Cheers,

Sampath.

Sampath Koppole,

The Computational Molecular Biophysics Group,

Interdisciplinary Center for Scientific Computing (IWR),

368, Im Neuenheimer Feld,

Heidelberg. D-69120.

Germany.

Web Home : http://www.sampath.koppole.com