Boost MPIを使用してプログラムを実行しようとしていますが、.libがありません。だから私はhttp://www.boost.org/doc/libs/1_43_0/doc/html/mpi/getting_started.html#mpi.configの指示に従って作成しようとしています
「LAM/MPI、MPICH、またはOpenMPIを使用している多くのユーザーの場合、構成はほぼ自動です」という説明があり、C:\でOpenMPIを取得しましたが、それ以上何もしませんでした。私たちはそれで何かをする必要がありますか?また、プログラムファイルでMPICH2を取得しましたが、それ以上のことは何もしませんでした。指示のこの時点で、私は正確に何をしなければならないのかよくわかりません。
その横に、命令からの別のステートメント:「ホームディレクトリにファイルuser-config.jamがまだない場合は、そこにtools / build / v2/user-config.jamをコピーします。」まあ、私は単にそれが言うことをします。C:\boost_1_43_0>に「usingmpi;」と一緒に「user-config.jam」を取得しました。ファイルに。
次に、これは私がやったことです:bjam --with-mpi
C:\boost_1_43_0>bjam --with-mpi
WARNING: No python installation configured and autoconfiguration
failed. See http://www.boost.org/libs/python/doc/building.html
for configuration instructions or pass --without-python to
suppress this message and silently skip all Boost.Python targets
Building the Boost C++ Libraries.
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
warning: Unable to construct ./stage-unversioned
warning: Unable to construct ./stage-unversioned
Component configuration:
- date_time : not building
- filesystem : not building
- graph : not building
- graph_parallel : not building
- iostreams : not building
- math : not building
- mpi : building
- program_options : not building
- python : not building
- random : not building
- regex : not building
- serialization : not building
- signals : not building
- system : not building
- test : not building
- thread : not building
- wave : not building
...found 1 target...
The Boost C++ Libraries were successfully built!
The following directory should be added to compiler include paths:
C:\boost_1_43_0
The following directory should be added to linker library paths:
C:\boost_1_43_0\stage\lib
C:\boost_1_43_0>
C:\ boost_1_43_0 \ stage \ libには多くのライブラリがあるようですが、libboost_mpi-vc100-mt-1_43.libまたはlibboost_mpi-vc100-mt-gd-1_43.libの痕跡はまったくありません。これらは、mpiアプリケーションでリンクするために必要なライブラリです。
ライブラリが構築されていないときに何がうまくいかなかった可能性がありますか?