TRIQS/mpi 1.3.0
C++ interface to MPI
Loading...
Searching...
No Matches
utils.hpp File Reference
#include <mpi.h>
#include <stdexcept>
#include <string>

Detailed Description

Provides general utilities related to MPI.

Definition in file utils.hpp.

Go to the source code of this file.

Concepts

concept  mpi::contiguous_sized_range
 A concept that checks if a range type is contiguous and sized.
 

Typedefs

template<typename T >
using mpi::regular_t = typename detail::_regular<std::decay_t<T>>::type
 Type trait to get the regular type of a type.
 

Functions

void mpi::check_mpi_call (int errcode, const std::string &mpi_routine)
 Check the success of an MPI call.