
10 Nov
2009
10 Nov
'09
7:56 p.m.
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