我在C:\ Program Files \ OpenMPI_v1.5.4-win32 \中安裝了openmpi,並且想編譯boost以生成圖形並行庫。但得到了以下錯誤:在msvc 2010中構建boost MPI的錯誤
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
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
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
,當我在Visual Studio 2010中命令提示符下運行:
b2 --toolset=msvc-10.0 --build-type=complete architecture=x86 address-model=32 stage --debug-configuration
我加入boost_1_48_0 \工具MPI配置\建立\ V2 \用戶config.jam中如下圖所示:
using mpi : "C:/Program Files/OpenMPI_v1.5.4-win32/bin/mpic++.exe" ;
我相信這類似的問題之前已經被要求,但沒有得到答案:
How to build boost::mpi library with Open MPI on Windows with Visual Studio 2010