Boost logo

Boost-Build :

Subject: Re: [Boost-build] using mpi to build boost did not work
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-02-21 10:11:04


On Sun, 21 Feb 2010, Vladimir Prus wrote:

> On Sunday 21 February 2010 07:00:46 Rick Ledford wrote:
>
>> I enabled "using mpi ;" in my user-config.jam
>> and received an error. See the paste of the command line session:
>
>> ...found 6672 targets...
>> rledford_at_zero:~/work/dev/boost/boost_1_42_0$ bjam
>> MPI auto-detection failed: unknown wrapper compiler mpic++
>
> Hi Rick,
>
> are you sure you have MPI installed? If so, what is the name of the
> compiler wrapper that comes with your MPI? Can you try changing
>
> using mpi ;
>
> to
>
> using mpi : <your-mpi-compiler-wrapper> ;
>
> for example:
>
> using mpi : /opt/mpich2-1.0.4/bin/mpiCC ;

You might want to try running "mpicc" yourself on the command line; I
believe some Linux distributions always have it but it is a
non-functioning stub unless a real MPI package is installed. Also, it
looks like you need <whatever-mpi>-dev installed to get the wrapper
compilers like mpicc.

-- Jeremiah Willcock


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