Boost logo

Boost Users :

Subject: [Boost-users] Boost.MPI build problem: auto-configuration fails
From: Kondov, Ivan (ivan.kondov_at_[hidden])
Date: 2010-10-21 11:40:16


Hi,

I would like to build boost.mpi from boost/1.43.0 with gcc/4.4.4,
openmpi/1.4.2
on GNU/Linux 2.6.18-128.1.14.el5.8hp.2sp SMP x86_64

bjam always skips the MPI section (see below).

Adding a line in user-config.jam

"using mpi : /software/all/openmpi/1.4.2/bin/mpiCC ;" or

"using mpi : /software/all/openmpi/1.4.2/bin/mpic++ ;"

does not change the result:

username_at_host:~/boost/boost_1_43_0$ bjam -v
Boost.Jam Version 3.1.18. OS=LINUX.

username_at_host:~/boost/boost_1_43_0$ bjam --with-mpi
warning: No toolsets are configured.
warning: Configuring default toolset "gcc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning:
http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html

Building the Boost C++ Libraries.

warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.

Component configuration:

    - date_time : not building
    - filesystem : not building
    - graph : not building
    - graph_parallel : not building
    - iostreams : not building
    - math : not building
    - mpi : building
    - program_options : not building
    - python : not building
    - random : not building
    - regex : not building
    - serialization : not building
    - signals : not building
    - system : not building
    - test : not building
    - thread : not building
    - wave : not building

...found 1 target...

The Boost C++ Libraries were successfully built!

The following directory should be added to compiler include paths:

    ......................../username/boost/boost_1_43_0

The following directory should be added to linker library paths:

    ......................../username/boost/boost_1_43_0/stage/lib

username_at_host:~/boost/boost_1_43_0$ which mpic++
/software/all/openmpi/1.4.2/bin/mpic++

username_at_host:~/boost/boost_1_43_0$ mpic++ -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../gcc-4.4.4/configure --enable-threads=posix
--enable-shared --prefix=/software/all/gcc/4.4.4
--enable-languages=c,c++,fortran,java --enable-checking=release
--with-tune=generic --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
--with-gmp=/software/all/gcc_infrastructure/gmp/4.3.2
-with-mpfr=/software/all/gcc_infrastructure/mpfr/2.4.2
--with-ppl=/software/all/gcc_infrastructure/ppl/0.10.2
--with-cloog=/software/all/gcc_infrastructure/cloog-ppl/0.15.9
Thread model: posix
gcc version 4.4.4 (GCC)

Many thanks in advance for any help!

Best regards,
Ivan


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