versuchen zu bauen Boost MPI, aber die lib-Dateien nicht erstellt. Was ist Los?

Ich versuche, ein Programm auszuführen, mit Boost-MPI, aber die Sache ist, ich habe nicht die .lib. Also ich versuche zu erstellen, indem Sie der Anleitung auf http://www.boost.org/doc/libs/1_43_0/doc/html/mpi/getting_started.html#mpi.config

Die Anleitung sagt "Für viele Benutzer die Verwendung von LAM/MPI, MPICH, OpenMPI oder ist die Konfiguration fast automatisch", ich habe mir OpenMPI in C:\, aber ich wollte nichts mehr mit ihm. Tun müssen wir etwas dazu tun? Auch ich habe mich MPICH2 in Programm-Dateien, und nichts mehr mit ihm, als gut. An diesem Punkt der Anleitung ist, wo ich bin ganz unsicher, was genau müssen wir tun.

Neben, dass, eine weitere Anweisung aus der Anleitung: "Wenn Sie nicht bereits über eine Datei, die user-config.jam in Ihrem home-Verzeichnis kopieren-tools/build/v2/user-config.Marmelade da." Naja, ich Mach einfach das was es sagt. Ich habe mir "user-config.jam" in C:\boost_1_43_0> zusammen mit "using mpi ;" in die Datei.

Nächsten, das ist, was ich getan habe: bjam --mit-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>

Ich sehen, dass es viele libs in C:\boost_1_43_0\stage\lib aber ich sehe keine Spur von libboost_mpi-vc100-mt-1_43.lib oder libboost_mpi-vc100-mt-gd-1_43.lib überhaupt. Dies sind die Bibliotheken, die benötigt werden für die Verknüpfung in mpi-Anwendungen.

Was könnte möglicherweise schief gegangen ist, wenn Bibliotheken werden nicht gebaut?

InformationsquelleAutor Karl | 2010-05-23
Schreibe einen Kommentar