|
mptensor v0.4.0
Parallel Library for Tensor Network Methods
|
Helper functions for MPI. More...
#include <mpi.h>Go to the source code of this file.
Namespaces | |
| namespace | mptensor |
| namespace | mptensor::mpi |
Typedefs | |
| using | mptensor::mpi::comm_type = MPI_Comm |
Functions | |
| void | mptensor::mpi::initialize (int argc, char **argv) |
| void | mptensor::mpi::finalize () |
| void | mptensor::mpi::barrier (const comm_type &comm) |
| void | mptensor::mpi::get_info (const comm_type &comm, int &rank, int &size, bool &is_root) |
Variables | |
| int | mptensor::mpi::rank = -1 |
| int | mptensor::mpi::size = -1 |
| bool | mptensor::mpi::is_root = false |
Helper functions for MPI.
This header file supports build without the MPI environment.