SIRIUS 7.5.0
Electronic structure library and applications
Classes | Enumerations | Functions
sirius::mpi Namespace Reference

MPI related functions and classes. More...

Classes

struct  block_data_descriptor
 
class  Communicator
 MPI communicator wrapper. More...
 
class  Grid
 MPI grid interface. More...
 
struct  mpi_comm_deleter
 
struct  op_wrapper
 
struct  op_wrapper< op_t::land >
 
struct  op_wrapper< op_t::max >
 
struct  op_wrapper< op_t::min >
 
struct  op_wrapper< op_t::sum >
 
class  pstdout
 Parallel standard output. More...
 
class  Request
 
struct  type_wrapper
 
struct  type_wrapper< bool >
 
struct  type_wrapper< char >
 
struct  type_wrapper< double >
 
struct  type_wrapper< float >
 
struct  type_wrapper< int >
 
struct  type_wrapper< int16_t >
 
struct  type_wrapper< long double >
 
struct  type_wrapper< std::complex< double > >
 
struct  type_wrapper< std::complex< float > >
 
struct  type_wrapper< uint32_t >
 
struct  type_wrapper< unsigned char >
 
struct  type_wrapper< unsigned long >
 
struct  type_wrapper< unsigned long long >
 

Enumerations

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

Functions

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

Detailed Description

MPI related functions and classes.

Enumeration Type Documentation

◆ op_t

enum class sirius::mpi::op_t
strong

Tyoe of MPI reduction.

Definition at line 60 of file communicator.hpp.

Function Documentation

◆ num_ranks_per_node()

int sirius::mpi::num_ranks_per_node ( )

Get number of ranks per node.

Definition at line 32 of file communicator.cpp.

◆ get_device_id()

int sirius::mpi::get_device_id ( int  num_devices__)

Get GPU device id associated with the current rank.

Definition at line 66 of file communicator.cpp.