Loading...
Searching...
No Matches
mpi.hpp File Reference
#include <iostream>
#include <mpi.h>

Go to the source code of this file.

Classes

class  terra::mpi::detail::MPIContext
 

Namespaces

namespace  terra
 
namespace  terra::mpi
 
namespace  terra::mpi::detail
 

Typedefs

using terra::mpi::MPIRank = int
 

Functions

MPIRank terra::mpi::rank ()
 
int terra::mpi::num_processes ()
 
void terra::mpi::barrier ()
 
std::string terra::mpi::mpi_error_string (int err)
 
template<typename T >
MPI_Datatype terra::mpi::mpi_datatype ()
 
template<>
MPI_Datatype terra::mpi::mpi_datatype< char > ()
 
template<>
MPI_Datatype terra::mpi::mpi_datatype< signed char > ()
 
template<>
MPI_Datatype terra::mpi::mpi_datatype< unsigned char > ()
 
template<>
MPI_Datatype terra::mpi::mpi_datatype< int > ()
 
template<>
MPI_Datatype terra::mpi::mpi_datatype< unsigned int > ()
 
template<>
MPI_Datatype terra::mpi::mpi_datatype< short > ()
 
template<>
MPI_Datatype terra::mpi::mpi_datatype< unsigned short > ()
 
template<>
MPI_Datatype terra::mpi::mpi_datatype< long > ()
 
template<>
MPI_Datatype terra::mpi::mpi_datatype< unsigned long > ()
 
template<>
MPI_Datatype terra::mpi::mpi_datatype< long long > ()
 
template<>
MPI_Datatype terra::mpi::mpi_datatype< unsigned long long > ()
 
template<>
MPI_Datatype terra::mpi::mpi_datatype< float > ()
 
template<>
MPI_Datatype terra::mpi::mpi_datatype< double > ()
 
template<>
MPI_Datatype terra::mpi::mpi_datatype< long double > ()
 
template<>
MPI_Datatype terra::mpi::mpi_datatype< bool > ()