Boost logo

Boost Users :

Subject: Re: [Boost-users] BGL - parallel/distributed
From: Ondrej Sluciak (ondrej.sluciak_at_[hidden])
Date: 2009-11-11 05:14:52


Thank you very much. I thought that the constructor of graph would also
take care about initializing the mpi (if it has distributedS selector).
Some working example in the documentation of graph_parallel would help a
lot for sure. Now it seems that everything works for me. Thank you once
more.

Nick Edmonds wrote:
>> To be even more precise, it exits the code in function MPI_Comm_dup
>> of mpi library. On linux I guess you have to have the mpi running,
>> but I don't know how it is on windows with mpich2.
>>
>
> You never initialized the Boost.MPI environment. See the tests, but
> you're looking for something like:
>
> mpi::environment env(argc, argv);
>
> This basically functions like MPI_Init() plus some Boost.MPI
> initialization. Comm_dup fails because the communicator you're trying
> to dup doesn't exist.
>
> -Nick
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>

-- 
Dipl.-Ing. Ondrej Sluciak
Room CG-04-06
Vienna University of Technology, Austria
Institute of Communications and Radio-Frequency Engineering
Gusshausstrasse 25-29/389
http://www.nt.tuwien.ac.at

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