Metall v0.30
A persistent memory allocator for data-centric analytics
 
Loading...
Searching...
No Matches
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

namespace  metall::utility::mpi
 Namespace for MPI utilities.
 
namespace  metall
 The top level of namespace of Metall.
 
namespace  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.
 
std::pair< bool, bool > metall::utility::mpi::global_logical_or (const bool local_value, const MPI_Comm &comm)
 Performs the logical 'or' operation.
 
int metall::utility::mpi::determine_local_root (const MPI_Comm &comm)
 Determines a local root rank.