Boost logo

Boost Users :

Subject: [Boost-users] Compiling Boost.MPI and mpich2 under Suse Linux
From: Michael1984 (m.auli_at_[hidden])
Date: 2010-05-27 12:26:25


Hello,

I am trying to compile Boost.MPI with Mpich2 under Suse Linux 10.x.
After having built Mpich2, involing ./bjam install I am presented with the
following error below, however, recompiling mpich2 with -fPIC does not help
either.

mpich2$ ./configure CXXFLAGS=-fPIC; make; make install

Does anybody have any suggestions?

Thanks a lot!

Michael

...
gcc.link.dll
bin.v2/libs/mpi/build/gcc-4.3/release/threading-multi/libboost_mpi.so.1.43.0
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
/mnt/thor2/michael/tools/mpich2/lib/libmpich.a(attr_get.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a shared
object; recompile with -fPIC
/mnt/thor2/michael/tools/mpich2/lib/libmpich.a: could not read symbols: Bad
value
collect2: ld returned 1 exit status
...

-- 
View this message in context: http://old.nabble.com/Compiling-Boost.MPI-and-mpich2-under-Suse-Linux-tp28696595p28696595.html
Sent from the Boost - Users mailing list archive at Nabble.com.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net