【问题标题】:Building Boost.MPI with Intel MPI使用英特尔 MPI 构建 Boost.MPI
【发布时间】:2011-12-20 10:06:47
【问题描述】:

我正在尝试使用 Intel MPI 4.0.0.012 构建 Boost.MPI 1.47,但 Boost 无法找到安装。我在 user-config.jam 中尝试了各种using mpi ;-variants,包括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 Files\Microsoft Comput
e Cluster Pack.
warning: toolset mpi initialization: can not find tool mpic++
warning: initialized from c:\temp\boost_1_47_0\tools/build/v2\user-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:\temp\boost_1_47_0\tools/build/v2\user-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:\temp\boost_1_47_0\tools/build/v2\user-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:\temp\boost_1_47_0\tools/build/v2\user-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)链接?

【问题讨论】:

    标签: c++ boost mpi boost-mpi intel-mpi


    【解决方案1】:

    问题是由using-statment 中的 : 缺失引起的。 Boost.MPI 在将其更正为 using mpi : : &lt;find-shared-library&gt;impi ; 后编译正常(注意有两个 ':')。

    【讨论】:

      猜你喜欢
      • 2017-01-22
      • 2019-07-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-11-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多