我已经在 C:\Program Files\OpenMPI_v1.5.4-win32\ 中安装了 openmpi,并希望编译 boost 以生成图形并行库。但出现以下错误:
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\tools\build\v2\user-config.jam 中添加了 MPI 配置,如下所示:
using mpi : "C:/Program Files/OpenMPI_v1.5.4-win32/bin/mpic++.exe" ;
我相信以前有人问过这个类似的问题,但没有得到答案:
如何使用 Visual Studio 2010 在 Windows 上使用 Open MPI 构建 boost::mpi 库