我正在嘗試使用英特爾MPI 4.0.0.012構建Boost.MPI 1.47,但Boost無法找到安裝。我已經嘗試過各種using mpi ;
-variants在user-config.jam中,包括using mpi ;
,using mpi : mpicl ;
和using mpi : c:/path/to/mpi/mpicl.bat
,但沒有運氣。我也試過使用using mpi : <find-shared-library>impi ;
,雖然我不確定<find-shared-library>
究竟做了什麼)。與英特爾MPI構建Boost.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 : <find-shared-library>impi ;
結果
MPI auto-detection failed: unknown wrapper compiler <find-shared-library>impi
如何鏈接Boost.MPI與英特爾MPI(視窗,Visual Studio 2010,x64)?