mptensor  v0.3.0
Parallel Library for Tensor Network Methods
blacsgrid.cc File Reference

BlacsGrid class. More...

#include <mpi.h>
#include <cassert>
#include <cstdlib>
#include <iostream>
#include <vector>
#include "mptensor/scalapack/blacsgrid.hpp"

Namespaces

 mptensor
 
 mptensor::scalapack
 Namespace for the distributed Matrix class with ScaLAPACK, PBLAS, and BLACS.
 

Functions

void Cblacs_pinfo (int *mypnum, int *nprocs)
 
void Cblacs_exit (int NotDone)
 
int Cblacs_pnum (int ictxt, int prow, int pcol)
 
int Cblacs_gridinit (int *ictxt, char *order, int nprow, int npcol)
 
int Cblacs_gridinfo (int ictxt, int *nprow, int *npcol, int *myprow, int *mypcol)
 
int Csys2blacs_handle (MPI_Comm comm)
 
MPI_Comm Cblacs2sys_handle (int ictxt)
 

Detailed Description

BlacsGrid class.

Author
Satoshi Morita morit.nosp@m.a@is.nosp@m.sp.u-.nosp@m.toky.nosp@m.o.ac..nosp@m.jp
Date
Dec 12 2014

Function Documentation

◆ Cblacs2sys_handle()

MPI_Comm Cblacs2sys_handle ( int  ictxt)

◆ Cblacs_exit()

void Cblacs_exit ( int  NotDone)

◆ Cblacs_gridinfo()

int Cblacs_gridinfo ( int  ictxt,
int *  nprow,
int *  npcol,
int *  myprow,
int *  mypcol 
)

◆ Cblacs_gridinit()

int Cblacs_gridinit ( int *  ictxt,
char *  order,
int  nprow,
int  npcol 
)

◆ Cblacs_pinfo()

void Cblacs_pinfo ( int *  mypnum,
int *  nprocs 
)

◆ Cblacs_pnum()

int Cblacs_pnum ( int  ictxt,
int  prow,
int  pcol 
)

◆ Csys2blacs_handle()

int Csys2blacs_handle ( MPI_Comm  comm)