mptensor v0.5.1
Parallel Library for Tensor Network Methods
Loading...
Searching...
No Matches
mpi.cc File Reference

Helper functions of MPI library. More...

#include <cstdlib>
#include "mptensor/mpi/mpi.hpp"
Include dependency graph for mpi.cc:

Namespaces

namespace  mptensor
 
namespace  mptensor::mpi
 

Functions

void mptensor::mpi::initialize (int argc, char **argv)
 True if the calling process is the root (rank 0), false otherwise.
 
void mptensor::mpi::finalize ()
 Finalize MPI environment.
 
void mptensor::mpi::barrier (const comm_type &comm)
 Barrier synchronization among processes in the communicator.
 
void mptensor::mpi::get_info (const comm_type &comm, int &rank, int &size, bool &is_root)
 Get MPI information: rank, size, and whether the process is the root.
 

Detailed Description

Helper functions of MPI library.

Author
Satoshi Morita morit.nosp@m.a@is.nosp@m.sp.u-.nosp@m.toky.nosp@m.o.ac..nosp@m.jp
Date
Mar 24 2020