我在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