SIRIUS 7.5.0
Electronic structure library and applications
Classes | Namespaces | Macros | Enumerations | Functions
communicator.hpp File Reference

Contains declaration and implementation of mpi::Communicator class. More...

Go to the source code of this file.

Classes

struct  sirius::mpi::op_wrapper< op_t::sum >
 
struct  sirius::mpi::op_wrapper< op_t::max >
 
struct  sirius::mpi::op_wrapper< op_t::min >
 
struct  sirius::mpi::op_wrapper< op_t::land >
 
struct  sirius::mpi::type_wrapper< float >
 
struct  sirius::mpi::type_wrapper< std::complex< float > >
 
struct  sirius::mpi::type_wrapper< double >
 
struct  sirius::mpi::type_wrapper< std::complex< double > >
 
struct  sirius::mpi::type_wrapper< long double >
 
struct  sirius::mpi::type_wrapper< int >
 
struct  sirius::mpi::type_wrapper< int16_t >
 
struct  sirius::mpi::type_wrapper< char >
 
struct  sirius::mpi::type_wrapper< unsigned char >
 
struct  sirius::mpi::type_wrapper< unsigned long long >
 
struct  sirius::mpi::type_wrapper< unsigned long >
 
struct  sirius::mpi::type_wrapper< bool >
 
struct  sirius::mpi::type_wrapper< uint32_t >
 
struct  sirius::mpi::block_data_descriptor
 
class  sirius::mpi::Request
 
struct  sirius::mpi::mpi_comm_deleter
 
class  sirius::mpi::Communicator
 MPI communicator wrapper. More...
 

Namespaces

module  sirius
 Namespace of the SIRIUS library.
 
namespace  sirius::mpi
 MPI related functions and classes.
 

Macros

#define CALL_MPI(func__, args__)
 

Enumerations

enum class  sirius::mpi::op_t { sum , max , min , land }
 Tyoe of MPI reduction. More...
 

Functions

int sirius::mpi::num_ranks_per_node ()
 Get number of ranks per node. More...
 
int sirius::mpi::get_device_id (int num_devices__)
 Get GPU device id associated with the current rank. More...
 

Detailed Description

Contains declaration and implementation of mpi::Communicator class.

Definition in file communicator.hpp.

Macro Definition Documentation

◆ CALL_MPI

#define CALL_MPI (   func__,
  args__ 
)
Value:
{ \
if (func__ args__ != MPI_SUCCESS) { \
std::printf("error in %s at line %i of file %s\n", #func__, __LINE__, __FILE__); \
MPI_Abort(MPI_COMM_WORLD, -1); \
} \
}

Definition at line 51 of file communicator.hpp.