
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@lists.boost.org 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