Boost MPI ile bir program çalıştırmaya çalışıyorum, ancak şu an .lib. Bu yüzden, http://www.boost.org/doc/libs/1_43_0/doc/html/mpi/getting_started.html#mpi.config, ancak lib dosyaları oluşturulmaz. Neler oluyor?
adresindeki yönergeleri izleyerek bir tane oluşturmaya çalışıyorum. Komut, "LAM/MPI, MPICH veya OpenMPI kullanan birçok kullanıcı için yapılandırma neredeyse otomatik" diyor, OpenMPI'yi C: \ 'de aldım ama onunla daha fazla bir şey yapmadım. Bununla bir şey yapmamız gerekecek mi? Program Dosyalarında kendime MPICH2 aldım ve onunla daha fazla bir şey yapmadım. Bu noktada, tam olarak ne yapmak zorunda olduğumuzdan emin değilim.Bunun yanında, talimattan bir başka ifade: "Eğer ev dizininize bir user-config.jam dosyası yoksa, araçları/build/v2/user-config.jam dosyasını kopyalayın." Eh, sadece söylediği şeyi yaparım. Kendimi "user-config.jam" ı C: \ boost_1_43_0> "mpi kullanarak" ile birlikte buldum. dosyaya.
yanındaki bu yaptığım budur: bjam --with-mpi orada C birçok kütüphanelerini olduğunu görüyoruz
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>
: \ boost_1_43_0 \ sahne \ lib ama hiçbir iz bakınız libboost_mpi-vc100-mt-1_43.lib veya libboost_mpi-vc100-mt-gd-1_43.lib. Bunlar mpi uygulamalarında bağlantı kurmak için gereken kütüphanelerdir.
Kütüphaneler oluşturulmadığında nelerin yanlış gidebilirdi?