建立刺激.MPI与英特尔MPI

Building Boost.MPI with Intel MPI

本文关键字:MPI 英特尔 建立 刺激      更新时间:2023-10-16

我正在尝试构建Boost。MPI 1.47与英特尔MPI 4.0.0.012,但Boost无法找到安装。我在用户配置中尝试了各种using mpi ; -变体。包括using mpi ;, using mpi : mpicl ;using mpi : c:/path/to/mpi/mpicl.bat的果酱没有运气。我也试过使用using mpi : <find-shared-library>impi ;,虽然我不确定<find-shared-library>真正做什么)。

使用using mpi ;我得到:

===============MPI Auto-configuration===============
Did not find Microsoft Compute Cluster Pack in C:Program FilesMicrosoft Comput
e Cluster Pack.
warning: toolset mpi initialization: can not find tool mpic++
warning: initialized from c:tempboost_1_47_0tools/build/v2user-config.jam:94
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 mpic++
Please report this error to the Boost mailing list: http://www.boost.org
You will need to manually configure MPI support.
warning: toolset mpi initialization: can not find tool mpirun
warning: initialized from c:tempboost_1_47_0tools/build/v2user-config.jam:94
MPI launcher: mpirun -np
====================================================

使用using mpi : mpicc我得到:

===============MPI Auto-configuration===============
warning: toolset mpi initialization:
warning: can not find user-provided command  'mpicl'
warning: initialized from c:tempboost_1_47_0tools/build/v2user-config.jam:94
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 mpicl
Please report this error to the Boost mailing list: http://www.boost.org
You will need to manually configure MPI support.
warning: toolset mpi initialization: can not find tool mpirun
warning: initialized from c:tempboost_1_47_0tools/build/v2user-config.jam:94
MPI launcher: mpirun -np
====================================================

using mpi : <find-shared-library>impi ;结果

MPI auto-detection failed: unknown wrapper compiler <find-shared-library>impi

如何链接Boost。MPI与英特尔MPI (Windows, Visual Studio 2010, x64)?

故障是由于using -语句中缺少:造成的。提振。MPI在将此更正为using mpi : : <find-shared-library>impi ;后编译得很好(注意有两个':')。