mptensor  v0.3.0
Parallel Library for Tensor Network Methods
mpi_tool.hpp File Reference

Some utilities for MPI. More...

#include <mpi.h>

Go to the source code of this file.

Typedefs

typedef MPI_Comm mpi_comm
 

Functions

void mpi_finalize ()
 
void mpi_init (int argc, char **argv)
 
void mpi_info (const mpi_comm &comm, int &rank, int &size, bool &is_root)
 
void mpi_barrier (const mpi_comm &comm)
 
double mpi_reduce_max (double send, const mpi_comm &comm)
 

Detailed Description

Some utilities for MPI.

Author
Satoshi Morita morit.nosp@m.a@is.nosp@m.sp.u-.nosp@m.toky.nosp@m.o.ac..nosp@m.jp
Date
January 14 2015

Typedef Documentation

◆ mpi_comm

typedef MPI_Comm mpi_comm

Function Documentation

◆ mpi_barrier()

void mpi_barrier ( const mpi_comm comm)

◆ mpi_finalize()

void mpi_finalize ( )

◆ mpi_info()

void mpi_info ( const mpi_comm comm,
int &  rank,
int &  size,
bool &  is_root 
)

◆ mpi_init()

void mpi_init ( int  argc,
char **  argv 
)

◆ mpi_reduce_max()

double mpi_reduce_max ( double  send,
const mpi_comm comm 
)