Loading...
Searching...
No Matches
MPIWrapper.hpp File Reference

Contains some simple C++ MPI wrapper utilities. More...

#include <list>
#include <vector>
#include <complex>
#include <cassert>
#include <numeric>
#include <limits>
#include <memory>
#include <utility>
#include "StrumpackConfig.hpp"
#include <mpi.h>
#include "StrumpackParameters.hpp"
#include "Triplet.hpp"
Include dependency graph for MPIWrapper.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  strumpack::MPIRequest
 Wrapper around an MPI_Request object. More...
 
class  strumpack::MPIComm
 Wrapper class around an MPI_Comm object. More...
 

Namespaces

namespace  strumpack
 

Macros

#define OMPI_SKIP_MPICXX   1
 

Functions

template<typename T >
MPI_Datatype strumpack::mpi_type ()
 
template<>
MPI_Datatype strumpack::mpi_type< char > ()
 
template<>
MPI_Datatype strumpack::mpi_type< bool > ()
 
template<>
MPI_Datatype strumpack::mpi_type< int > ()
 
template<>
MPI_Datatype strumpack::mpi_type< long > ()
 
template<>
MPI_Datatype strumpack::mpi_type< unsigned long > ()
 
template<>
MPI_Datatype strumpack::mpi_type< long long int > ()
 
template<>
MPI_Datatype strumpack::mpi_type< float > ()
 
template<>
MPI_Datatype strumpack::mpi_type< double > ()
 
template<>
MPI_Datatype strumpack::mpi_type< std::complex< float > > ()
 
template<>
MPI_Datatype strumpack::mpi_type< std::complex< double > > ()
 
template<>
MPI_Datatype strumpack::mpi_type< std::pair< int, int > > ()
 
void strumpack::wait_all (std::vector< MPIRequest > &reqs)
 
void strumpack::wait_all (std::vector< MPI_Request > &reqs)
 
int strumpack::mpi_rank (MPI_Comm c=MPI_COMM_WORLD)
 
int strumpack::mpi_nprocs (MPI_Comm c=MPI_COMM_WORLD)
 

Detailed Description

Contains some simple C++ MPI wrapper utilities.