11 Aug
2009
11 Aug
'09
11:55 p.m.
Is there something equivalent to the constant MPI_COMM_SELF in Boost.MPI? It is easy to refer the MPI_COMM_WORLD since this is the default constructor of boost::mpi::communicator, but it seems that the only way to have the equivalent of MPI_COMM_SELF is to do boost::mpi::communicator self(MPI_COMM_SELF, boost::mpi::communicator::comm_attach); does it make sense to define a global object with that name to refer to the communicator in current process? (this can be handy to switch to serial bahavior and parallel executrion when debugging the code, I guess). Thanks, Alfredo