Boost logo

Boost Users :

Subject: Re: [Boost-users] BGL - parallel/distributed
From: Nick Edmonds (ngedmond_at_[hidden])
Date: 2009-11-10 14:56:06


> 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 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