Metall  v0.27
A persistent memory allocator for data-centric analytics
mpi.hpp File Reference
#include <sys/mman.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <mpi.h>
#include <metall/logger.hpp>
#include <metall/detail/file.hpp>
#include <metall/detail/mmap.hpp>

Go to the source code of this file.

Namespaces

 metall::utility::mpi
 Namespace for MPI utilities.
 
 metall
 The top level of namespace of Metall.
 
 metall::utility
 Namespace for utility items.
 

Functions

int metall::utility::mpi::comm_rank (const MPI_Comm &comm)
 
int metall::utility::mpi::comm_size (const MPI_Comm &comm)
 
bool metall::utility::mpi::barrier (const MPI_Comm &comm)
 
std::pair< bool, bool > metall::utility::mpi::global_logical_and (const bool local_value, const MPI_Comm &comm)
 Performs the logical 'and' operation. More...
 
std::pair< bool, bool > metall::utility::mpi::global_logical_or (const bool local_value, const MPI_Comm &comm)
 Performs the logical 'or' operation. More...
 
int metall::utility::mpi::determine_local_root (const MPI_Comm &comm)
 Determines a local root rank. More...