int main(int argc, char **argv)
{
mpi::environment env(argc, argv); // Boost.MPI class
boost::mpi::communicator worldCom; // Boost.MPI class
std::cout << "rank():" << worldCom.rank() << std::endl;
worldCom.barrier();
return 0;
}
and successfully compiled and linked with your library as "a.exe" by mingw, however, if I run it:
>mpirun -np 4 a.exe
the command will create 4 process with the same rank "0", I wonder if it's the bug of your unstable release for windows?
BTW, can you publish the Visual studio project to the subversion? Thanks very much.