BLACS_CTXT_handler Class Reference
LibRPA
|
LIBRPA::BLACS_CTXT_handler Class Reference
Public Member Functions | |
BLACS_CTXT_handler (MPI_Comm comm_in) | |
void | init () |
void | reset_comm (MPI_Comm comm_in) |
void | set_grid (const int &nprows_in, const int &npcols_in, CTXT_LAYOUT layout_in=CTXT_LAYOUT::R) |
void | set_square_grid (bool more_rows=true, CTXT_LAYOUT layout_in=CTXT_LAYOUT::R) |
void | set_horizontal_grid () |
void | set_vertical_grid () |
std::string | info () const |
int | get_pnum (int prow, int pcol) const |
void | get_pcoord (int pid, int &prow, int &pcol) const |
void | barrier (CTXT_SCOPE scope=CTXT_SCOPE::A) const |
void | exit () |
call gridexit to reset process grid | |
bool | initialized () const |
Public Attributes | |
int | ictxt |
CTXT_LAYOUT | layout |
int | myid |
int | nprocs |
int | nprows |
int | npcols |
int | mypcol |
int | myprow |
The documentation for this class was generated from the following files:
- parallel_mpi.h
- parallel_mpi.cpp
Generated by