[Boost.mpi] Installation with Intel compilers
Hi, I'm trying to build the boost.mpi 1.42.0 library with Intel compilers. I build the other libraries, so I believe it's just a matter of rightly configure everything. I've the bootstrap ./bootstrap.sh --with-toolset=intel-linux --with-libraries=mpi --prefix=/usr/local/boost-1.42.0-intelmpi I've added to the file project-config.jam the following row: using mpi : mpiicpc ; and then I run the bjam: ./bjam --with-mpi toolset=intel link=static --debug-configuration install but I receive this failure message ...patience... ...found 16685 targets... ...updating 21 targets... intel-linux.compile.c++ bin.v2/libs/mpi/build/intel-linux/release/link-static/threading-multi/broadcast.o icpc: command line warning #10006: ignoring unknown option '-fenable-new-dtags' icpc: command line error: multiple sources not allowed with -o option "icpc" -c -xc++ -O3 -w1 -inline-level=2 -pthread $libdir --enable-new-dtags -Xlinker -rpath /opt/intel/mpi-rt/3.2.2 -DBOOST_ALL_NO_LIB=1 -DBOOST_MPI_SOURCE=1 -DNDEBUG -I"." -I"/opt/intel/impi/ 3.2.2.006/include" -c -o "bin.v2/libs/mpi/build/intel-linux/release/link-static/threading-multi/broadcast.o" "libs/mpi/src/broadcast.cpp" ...failed intel-linux.compile.c++ bin.v2/libs/mpi/build/intel-linux/release/link-static/threading-multi/broadcast.o... [...] what's wrong with my configuration steps ? thank you. Federico
Hi Federico, On Apr 12, 2010, at 7:44 AM, Federico Golfrè Andreasi wrote:
I'm trying to build the boost.mpi 1.42.0 library with Intel compilers.
So I see you're using Intel MPI. Congrats, I think you're the first person to test iMPI. The problem seems to be that the -Xlinker flag has been stripped from in front of the --enable-new-dtags option. For example, if you look at the mpiicpc script you'll find this line: mpiicpc:rpath_opt='-Xlinker --enable-new-dtags -Xlinker -rpath - Xlinker $libdir -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/3.2.2' Now this problem (sorting the mpiCC flags and removing duplicates) was a recently reported (and if I'm not mistaken fixed) bug. I'm not certain but I believe it's been fixed in 1.43. You could try to edit mpi.jam around line 221 like this: if $(otherflags) { for unknown in $(unknown-features) { result += "$(unknown)$(otherflags:J= )" ; } } Hope that helps. -- Noel
participants (2)
-
Belcourt, Kenneth
-
Federico Golfrè Andreasi