planc
Parallel Lowrank Approximation with Non-negativity Constraints
Macros | Enumerations
distutils.h File Reference

Go to the source code of this file.

Macros

#define ISROOT   this->m_mpicomm.rank() == 0
 
#define MPI_SIZE   this->m_mpicomm.size()
 
#define MPI_RANK   this->m_mpicomm.rank()
 
#define MPI_ROW_RANK   this->m_mpicomm.row_rank()
 
#define MPI_COL_RANK   this->m_mpicomm.col_rank()
 
#define MPI_FIBER_RANK(i)   this->m_mpicomm.fiber_rank(i)
 
#define MPI_SLICE_RANK(i)   this->m_mpicomm.slice_rank(i)
 
#define NUMROWPROCS   this->m_mpicomm.pr()
 
#define NUMCOLPROCS   this->m_mpicomm.pc()
 
#define MPITIC   mpitic()
 
#define MPITOC   mpitoc()
 
#define PRINTROOT(MSG)
 
#define DISTPRINTINFO(MSG)
 
#define PRINTTICTOCTOP
 

Enumerations

enum  iodistributions { ONED_ROW, ONED_COL, ONED_DOUBLE, TWOD }
 

Macro Definition Documentation

◆ DISTPRINTINFO

#define DISTPRINTINFO (   MSG)
Value:
INFO << MPI_RANK << "::" << __PRETTY_FUNCTION__ << "::" << __LINE__ \
<< "::" << std::endl \
<< MSG << std::endl;
#define INFO
Definition: utils.h:36
#define MPI_RANK
Definition: distutils.h:16

Definition at line 37 of file distutils.h.

◆ ISROOT

#define ISROOT   this->m_mpicomm.rank() == 0

Definition at line 14 of file distutils.h.

◆ MPI_COL_RANK

#define MPI_COL_RANK   this->m_mpicomm.col_rank()

Definition at line 18 of file distutils.h.

◆ MPI_FIBER_RANK

#define MPI_FIBER_RANK (   i)    this->m_mpicomm.fiber_rank(i)

Definition at line 19 of file distutils.h.

◆ MPI_RANK

#define MPI_RANK   this->m_mpicomm.rank()

Definition at line 16 of file distutils.h.

◆ MPI_ROW_RANK

#define MPI_ROW_RANK   this->m_mpicomm.row_rank()

Definition at line 17 of file distutils.h.

◆ MPI_SIZE

#define MPI_SIZE   this->m_mpicomm.size()

Definition at line 15 of file distutils.h.

◆ MPI_SLICE_RANK

#define MPI_SLICE_RANK (   i)    this->m_mpicomm.slice_rank(i)

Definition at line 20 of file distutils.h.

◆ MPITIC

#define MPITIC   mpitic()

Definition at line 26 of file distutils.h.

◆ MPITOC

#define MPITOC   mpitoc()

Definition at line 27 of file distutils.h.

◆ NUMCOLPROCS

#define NUMCOLPROCS   this->m_mpicomm.pc()

Definition at line 22 of file distutils.h.

◆ NUMROWPROCS

#define NUMROWPROCS   this->m_mpicomm.pr()

Definition at line 21 of file distutils.h.

◆ PRINTROOT

#define PRINTROOT (   MSG)
Value:
if (ISROOT) \
INFO << "::" << __PRETTY_FUNCTION__ << "::" << __LINE__ \
<< "::" << std::endl \
<< MSG << std::endl;
#define ISROOT
Definition: distutils.h:14

Definition at line 32 of file distutils.h.

◆ PRINTTICTOCTOP

#define PRINTTICTOCTOP
Value:
if (ISROOT) \
INFO << "tictoc::" << tictoc_stack.top() << std::endl;
#define ISROOT
Definition: distutils.h:14
static std::stack< std::chrono::steady_clock::time_point > tictoc_stack
Definition: utils.hpp:37

Definition at line 41 of file distutils.h.

Enumeration Type Documentation

◆ iodistributions

Enumerator
ONED_ROW 
ONED_COL 
ONED_DOUBLE 
TWOD 

Definition at line 12 of file distutils.h.