2011-11-02 68 views
2

我正在嘗試使用英特爾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)?

回答

4

問題是由於缺少:在using-狀態。 Boost.MPI在將其修正爲using mpi : : <find-shared-library>impi ;(注意有兩個':')後編譯正確。

相關問題