2011-11-02 2 views
2

Boost.MPI 1.47을 Intel MPI 4.0.0.012로 빌드하려고하는데 Boost가 설치를 찾을 수 없습니다. 나는 using mpi ;, using mpi : mpicl ;using mpi : c:/path/to/mpi/mpicl.bat 행운을 포함하여 사용자 config.jam에서 다양한 using mpi ; 변종을 시도했습니다. 심지어 using mpi : <find-shared-library>impi ;을 사용하여 시도했는데 어떤 것이 확실하지 않습니다. <find-shared-library>이 실제로하는 일입니다.) using mpi ;를 사용Intel MPI를 사용하여 Boost.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-detection failed: unknown wrapper compiler <find-shared-library>impi 

에서

===============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 (Windows와 함께 Boost.MPI을 연결하려면 어떻게 , Visual Studio 2010, x64)?

답변

4

문제는 누락으로 인한 것입니다 : using-statment. Boost.MPI는 using mpi : : <find-shared-library>impi ; (':'이 2 개임을 알 수 있습니다.)으로 수정 한 후 정상적으로 컴파일되었습니다.

관련 문제