|
Boost Users : |
Subject: Re: [Boost-users] Cannot build boost with MPI using Intel openMPI wrapper
From: Boris Schäling (boris_at_[hidden])
Date: 2015-06-10 05:08:05
On Wed, 10 Jun 2015 02:37:26 +0200, Cook, Rich <cook47_at_[hidden]> wrote:
> Hello, I'm seeing this in my build output. I'm hoping someone can help
> me find out what the actual problem is. Thanks for any assistance.
>
> ===============MPI Auto-configuration===============
> MPI auto-detection failed: unknown wrapper compiler
> /usr/local/tools/openmpi-intel-debug-1.8.4/bin/mpiCC
> Please report this error to the Boost mailing list: http://www.boost.org
> You will need to manually configure MPI support.
> MPI launcher: mpirun -np
> ====================================================
>
>
> Here are the commands that generated it:
>
> + mkdir -p //usr/local/tools/boost-intel-1.57.0
> + mkdir -p //usr/local/bin
> + pushd boost_1_57_0
> /tmp/dpkg-mkdeb.1Tdcc4kqMi/src/boost_1_57_0
> /tmp/dpkg-mkdeb.1Tdcc4kqMi/src
> + ./bootstrap.sh --prefix=/usr/local/tools/boost-intel-1.57.0
> + echo 'using mpi : /usr/local/tools/openmpi-intel-debug-1.8.4/bin/mpiCC
> ;' >> tools/build/src/user-config.jam
>
> + ./b2 -j20 --debug-configuration install
It's a while ago that I was using Boost.MPI. But if auto-detection fails,
you could pass MPI-related options explicitly. There is this remark in the
MPI Jamfile:
# If your MPI implementation does not have a wrapper compiler, or the MPI
# auto-detection code does not work with your MPI's wrapper compiler,
# you can pass MPI-related options explicitly via the second parameter to
the
# mpi module:
#
# using mpi : : <find-shared-library>lammpio
<find-shared-library>lammpi++
# <find-shared-library>mpi <find-shared-library>lam
# <find-shared-library>dl ;
HTH,
Boris
> [...]
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