2011-11-02 3 views
2

J'essaye de construire Boost.MPI 1.47 avec Intel MPI 4.0.0.012, mais Boost n'est pas capable de trouver l'installation. J'ai essayé divers using mpi ; -variants dans user-config.jam, y compris using mpi ;, using mpi : mpicl ; et using mpi : c:/path/to/mpi/mpicl.bat sans chance. J'ai aussi essayé d'utiliser le using mpi : <find-shared-library>impi ; même si je ne suis pas sûr de ce que fait vraiment <find-shared-library>).Building Boost.MPI avec Intel MPI

En utilisant using mpi ; je reçois:

===============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 
==================================================== 

En utilisant using mpi : mpicc je reçois:

===============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 ; résultats dans

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

Comment créer un lien Boost.MPI avec Intel MPI (Windows , Visual Studio 2010, x64)?

Répondre

4

Les problèmes ont été causés par un élément manquant: dans l'état using. Boost.MPI compilé très bien après avoir corrigé cela à using mpi : : <find-shared-library>impi ; (notez qu'il y a deux ':').