Boost logo

Boost-Build :

Subject: [Boost-build] MPI and Intel-11.1 trunk tests
From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2009-09-22 14:49:55


Hi,

I'm trying to get MPI (mpich) and intel-11.1 trunk tests on Linux
going and am running into what, I think, might be an Boost.Build error.

Consider the link line for the all_gather_test-1 MPI test.

        http://tinyurl.com/ktvct6

This warning :

ipo: warning #11009: file format not recognized for /home/sntools/
extras/mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/lib
/home/sntools/extras/mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/lib: file
not recognized: Is a directory

seems to be caused by, what appears to be, an inconsistent
translation of MPI auto configuration output into Boost.Build link
line arguments. Here's the relevant part of the MPI auto
configuration output :

<linkflags>-Wl,-rpath <linkflags>-Wl,/home/sntools/extras/mpi/
mpich-1.2.7p1-intel-11.1.038-64Bit/lib <linkflags>-Wl,-rpath
<linkflags>-Wl,/home/sntools/extras/compilers/intel/Compiler/11.1/038/
lib/intel64 <linkflags>-Wl,-rpath <linkflags>-Wl,/home/sntools/extras/
mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/lib <linkflags>-Wl,-rpath
<linkflags>-Wl,/home/sntools/extras/compilers/intel/Compiler/11.1/038/
lib/intel64

Which seems to be incorrectly converted to these link line arguments :

-Wl,-rpath -Wl,/home/sntools/extras/compilers/intel/Compiler/11.1/038/
lib/intel64
-Wl,/home/sntools/extras/mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/lib

Is Boost.Build possibly sorting and eliminating duplicate <linkflags>
arguments and, perhaps, not retaining the original ordering coming
out of the MPI auto configuration?

Here's how I invoke the trunk tests.

python run.py --runner="Sandia-intel-11.1" --bjam toolset=intel-linux
--pjl-toolset=gcc --toolsets=intel-11.1 --bjam-options=-j8

I've attached the output from the MPI auto configuration and the user-
config.jam

Any ideas?

-- Noel










Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk