Boost logo

Boost Users :

Subject: [Boost-users] [mpi] what is the equivalent of MPI_COMM_SELF?
From: alfC (alfredo.correa_at_[hidden])
Date: 2009-08-11 19:55:11


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


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