Boost logo

Boost Users :

From: Charles Karney (ckarney_at_[hidden])
Date: 2007-07-16 19:10:48


I'm testing out Boost MPI on Windows following the description in

    http://www.generic-programming.org/~dgregor/boost.mpi/doc/mpi/getting_started.html

I've installed MPICH 1.2.5 (the only one of the tested MPI
implementations that works with Windows) in C:\Program Files\MPICH; have
checked out boost from the CVS repository; and have bjam 3.1.13.

    bjam --with-mpi

then complains about not finding MPI. For example, I tried adding to
user-config.jam the following:

    using mpi : : "C:/Program Files/MPICH/SDK/Lib/mpich.lib" ;

Running bjam --with-mpi --debug-configuration then gives:

    warning: toolset mpi initialization: can't find tool mpirun
    ...
    error: 'C:/Program Files/MPICH/SDK/Lib/mpich.lib' is not a valid for property specification

Unfortunately I can't figure out how to interpret the following (from
the documentation):

    If your MPI implementation does not have a wrapper compiler, or the
    MPI auto-detection code does not work with your MPI's wrapper
    compiler, you can pass MPI-related options explicitly via the second
    parameter to the mpi module:

    using mpi : : <find-shared-library>lammpio <find-shared-library>lammpi++
                  <find-shared-library>mpi <find-shared-library>lam
                  <find-shared-library>dl ;

What are the "MPI-related options"?

If anyone has succeeded in getting Boost MPI working on Windows (with
Visual Studio .NET) and with any MPI implementation, I'd appreciate
hearing how they configured it.

Thanks!

-- 
Charles Karney <ckarney_at_[hidden]>
Sarnoff Corporation, Princeton, NJ 08543-5300
URL: http://charles.karney.info
Tel: +1 609 734 2312
Fax: +1 609 734 2662

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net