atlas::mpi::scope namespace

Functions

void push()
Push a new scope for MPI communicators. The current default communicator is restored when the scope is destructed using pop()
void push(std::string_view name)
Push a new scope for MPI communicators. The given communicator is set as the default communicator for the duration of the scope. The previous default communicator is restored when the scope is destructed using pop()
void push(const Comm& comm)
Push a new scope for MPI communicators. The given communicator is set as the default communicator for the duration of the scope. The previous default communicator is restored when the scope is destructed using pop()
void push(int communicator)
Push a new scope for MPI communicators. The given communicator is set as the default communicator for the duration of the scope. The previous default communicator is restored when the scope is destructed using pop() If the given communicator is not already registered, it will be registered with a generated name "int.<communicator>" for the duration of the scope, and unregistered when the scope is destructed.
void pop()
Pop the current MPI communicator scope, restoring the previous default communicator.