Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem building boost MPI with Visual Studio 2010
From: Riccardo Murri (riccardo.murri_at_[hidden])
Date: 2012-02-28 10:13:37


Hello,

On Mon, Feb 27, 2012 at 22:58, k m <k.m54544_at_[hidden]> wrote:
> Thank you very much for your reply. I made the change to the c:\program
> files\boost_1_48_0\tools\build\v2\tools\mpi.jam file, like you mentioned
> (See attached, I also attached the user-config.jam for your reference). But
> still have exactly the same error.
>
> C:\Program Files\boost_1_48_0>b2 --toolset=msvc-10.0 --build-type=complete
> architecture=x86 address-model=32 stage
>
> The system cannot find the path specified.
>
> MPI auto-detection failed: unknown wrapper compiler C:/Program
> Files/OpenMPI_v1.5.4-win32/bin/mpic++.exe
>

I have no clue about Windows, but when Boost cannot find my MPI
compiler wrapper under Linux, I just append this line to the
"project-config.jam" file in the root directory of Boost:

    using mpi : /path/to/mpicxx ;

Of course, you need to replace /path/to/mpicxx above with the path to
your "mpic++.exe" executable (or whatever the MPI compiler wrapper is
called in Windows).

Best regards,
Riccardo


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