mpi::communicator

#include <mpi.hpp>

class communicator

Member functions

(constructor)

get

rank

Get the rank of the calling process in the communicator.

size

Get the size of the communicator.

split

Split the communicator into disjoint subgroups.

abort

If mpi::has_env is true, MPI_Abort is called with the given error code, otherwise std::abort is called.

barrier

Barrier synchronization.