![]() |
Home | Libraries | People | FAQ | More |
boost::mpi::all_gather — Gather the values stored at every process into vectors of values from each process.
// In header: <boost/mpi/collectives.hpp> template<typename T> (communicator & comm, in_value, out_values); template<typename T> (communicator & comm, in_value, out_values); template<typename T> (communicator & comm, in_values, n, out_values); template<typename T> (communicator & comm, in_values, n, out_values);
all_gather
is a collective algorithm that collects the values stored at each process into a vector of values indexed by the process number they came from. The type T
of the values may be any type that is serializable or has an associated MPI data type.
When the type T
has an associated MPI data type, this routine invokes MPI_Allgather
to gather the values.
Parameters: |
|