使用英特尔 MPI 构建 Boost.MPI
我正在尝试使用 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 :
尽管我不确定
到底是什么做)。
使用 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 :
结果在
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题是由
using
语句中缺少 : 引起的。将其更正为using mpi : :impi ;
后,Boost.MPI 编译正常(请注意有两个“:”)。The troubles was caused by a missing : in the
using
-statment. Boost.MPI compiled fine after correcting this tousing mpi : : <find-shared-library>impi ;
(notice that there are two ':').