2

Intel MPI 4.0.0.012 で Boost.MPI 1.47 をビルドしようとしていますが、Boost はインストールを見つけることができません。using mpi ;を含む 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>

私が得る使用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 を Intel MPI (Windows、Visual Studio 2010、x64) とリンクするにはどうすればよいですか?

4

1 に答える 1

4

この問題は、usingステートメントに : がないために発生しました。これを修正した後、Boost.MPI は正常にコンパイルされましたusing mpi : : <find-shared-library>impi ;(「:」が 2 つあることに注意してください)。

于 2011-11-03T09:14:16.497 に答える