Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.mpi] Installation with Intel compilers
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2010-04-12 12:17:11


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


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