I installed Open MPI 1.5.4 (64 bit) and I am trying to rebuild boost libraries (1.48) with bjam.
I changed user-config.jam file, by adding using mpi line with explicit compiler path (although mpic++ is already in PATH environment variable):
using mpi : "C:/Program Files (x86)/OpenMPI_v1.5.4-x64/bin/mpic++.exe" ;
Then I tried to run from command prompt the following command:
bjam toolset=msvc --build-type=complete --with-mpi --address-model=64 stage
Unfortunately, the build process still needs more hints. Part of the error reporting looks like:
MPI auto-detection failed: unknown wrapper compiler C:/Program Files (x86)/OpenMPI_v1.5.4-x64/bin/mpic++.exe
Did anybody managed to compile Boost MPI with Open MPI under Windows? Am I missing something?
I've found the solution to this in an older blog:
What worked for me (tested only with OpenMPI):
Might be working for me... I used Microsoft MPI instead of OpenMPI.
project-config.jam
and addusing mpi ;
tools\build\v2\map.jam
and find Microsoft Computer Cluster and change the path toC:\Program Files\Microsoft MPI
Inc
folder inC:\Program Files\Microsoft MPI
toInclude
bjam --with-mpi
gives me link errors, but I'm posting what I got...