我試圖運行與升壓MPI程序,但事情是我不具備的.lib。所以,我試圖通過以下的http://www.boost.org/doc/libs/1_43_0/doc/html/mpi/getting_started.html#mpi.config,但不創建lib文件。這是怎麼回事?
說明書上說「對於很多用戶在使用LAM/MPI,MPICH,或的openmpi,配置幾乎是自動的」指令創建一個,我用C給自己的openmpi:\,但我沒有做任何更多的事情。我們需要對它做任何事嗎?我也在Program Files中找到了自己的MPICH2,並且也沒有做更多的事情。在這個指令的這一點上,我不確定我們到底要做什麼。
除此之外,該指令的另一種說法是:「如果您的主目錄中沒有文件user-config.jam,請在其中複製tools/build/v2/user-config.jam。」那麼,我只是做它說的。我在C:\ boost_1_43_0>中使用了「user-config.jam」以及「using mpi;」進入文件。
其次,這是我做了什麼:的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 \階段\ lib中,但我看不出有什麼痕跡libboost_mpi-vc100-mt-1_43.lib或libboost_mpi-vc100-mt-gd-1_43.lib。這些是在mpi應用程序中鏈接所需的庫。
什麼可能出了錯不被建庫時?