使用英特尔 MPI 构建 Boost.MPI

发布于 2024-12-13 13:31:51 字数 2479 浏览 1 评论 0原文

我正在尝试使用 Intel MPI 4.0.0.012 构建 Boost.MPI 1.47,但 Boost 无法找到安装。我在 user-config.jam 中尝试了各种 using mpi ;-variants ,包括 using mpi ;using mpi : mpicl ;>使用 mpi : c:/path/to/mpi/mpicl.bat 没有运气。我还尝试使用 using mpi :impi ; 尽管我不确定 到底是什么做)。

使用 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 :impi ; 结果在

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

如何将 Boost.MPI 与 Intel MPI 链接(Windows、Visual Studio 2010、x64)?

I'm trying to build Boost.MPI 1.47 with Intel MPI 4.0.0.012, but Boost is not able to find the installation. I've tried various using mpi ;-variants in user-config.jam including using mpi ;, using mpi : mpicl ; and using mpi : c:/path/to/mpi/mpicl.bat without luck. I've also tried using the using mpi : <find-shared-library>impi ; although I'm not sure what <find-shared-library> really do).

Using using mpi ; I get:

===============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 using mpi : mpicc I get:

===============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 ; results in

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

How do I link Boost.MPI with Intel MPI (Windows, Visual Studio 2010, x64)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

指尖凝香 2024-12-20 13:31:51

问题是由 using 语句中缺少 : 引起的。将其更正为 using mpi : :impi ; 后,Boost.MPI 编译正常(请注意有两个“:”)。

The troubles was caused by a missing : in the using-statment. Boost.MPI compiled fine after correcting this to using mpi : : <find-shared-library>impi ; (notice that there are two ':').

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文