ScaLAPACK 2.1  2.1
ScaLAPACK: Scalable Linear Algebra PACKage
pcgemrdrv.c File Reference
#include "redist.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <assert.h>
#include <varargs.h>
Include dependency graph for pcgemrdrv.c:

Go to the source code of this file.

Data Structures

struct  complex
 
struct  MDESC
 
struct  IDESC
 

Macros

#define static2   static
 
#define fortran_mr2d   pcgemr2do
 
#define fortran_mr2dnew   pcgemr2d
 
#define ccopy_   ccopy
 
#define clacpy_   clacpy
 
#define Clacpy   Ccgelacpy
 
#define BLOCK_CYCLIC_2D   1
 
#define SHIFT(row, sprow, nbrow)   ((row)-(sprow)+ ((row) >= (sprow) ? 0 : (nbrow)))
 
#define max(A, B)   ((A)>(B)?(A):(B))
 
#define min(A, B)   ((A)>(B)?(B):(A))
 
#define DIVUP(a, b)   ( ((a)-1) /(b)+1)
 
#define ROUNDUP(a, b)   (DIVUP(a,b)*(b))
 
#define scanD0   cgescanD0
 
#define dispmat   cgedispmat
 
#define setmemory   cgesetmemory
 
#define freememory   cgefreememory
 
#define scan_intervals   cgescan_intervals
 
#define SENDBUFF   0
 
#define RECVBUFF   1
 
#define SIZEBUFF   2
 
#define NDEBUG
 
#define nbparameter   24
 

Functions

void Clacpy ()
 
void Cblacs_pcoord ()
 
int Cblacs_pnum ()
 
void Csetpvmtids ()
 
void Cblacs_get ()
 
void Cblacs_pinfo ()
 
void Cblacs_gridinfo ()
 
void Cblacs_gridinit ()
 
void Cblacs_exit ()
 
void Cblacs_gridexit ()
 
void Cblacs_setup ()
 
void Cigebs2d ()
 
void Cigebr2d ()
 
void Cigesd2d ()
 
void Cigerv2d ()
 
void Cigsum2d ()
 
void Cigamn2d ()
 
void Cigamx2d ()
 
void Ccgesd2d ()
 
void Ccgerv2d ()
 
void clacpy_ ()
 
int localindice ()
 
void * mr2d_malloc ()
 
int ppcm ()
 
int localsize ()
 
int memoryblocksize ()
 
int changeorigin ()
 
void paramcheck ()
 
void scanD0 ()
 
void dispmat ()
 
void setmemory ()
 
void freememory ()
 
int scan_intervals ()
 
void Cpcgemr2do ()
 
void Cpcgemr2d ()
 
static2 void initblock (complex *block, int m, int n)
 
void initforpvm (int argc, argv)
 
int main (int argc, argv)
 

Macro Definition Documentation

◆ BLOCK_CYCLIC_2D

#define BLOCK_CYCLIC_2D   1

Definition at line 92 of file pcgemrdrv.c.

◆ ccopy_

#define ccopy_   ccopy

Definition at line 73 of file pcgemrdrv.c.

◆ Clacpy

#define Clacpy   Ccgelacpy

Definition at line 76 of file pcgemrdrv.c.

◆ clacpy_

#define clacpy_   clacpy

Definition at line 74 of file pcgemrdrv.c.

◆ dispmat

#define dispmat   cgedispmat

Definition at line 139 of file pcgemrdrv.c.

◆ DIVUP

#define DIVUP (   a,
 
)    ( ((a)-1) /(b)+1)

Definition at line 100 of file pcgemrdrv.c.

◆ fortran_mr2d

#define fortran_mr2d   pcgemr2do

Definition at line 71 of file pcgemrdrv.c.

◆ fortran_mr2dnew

#define fortran_mr2dnew   pcgemr2d

Definition at line 72 of file pcgemrdrv.c.

◆ freememory

#define freememory   cgefreememory

Definition at line 141 of file pcgemrdrv.c.

◆ max

#define max (   A,
 
)    ((A)>(B)?(A):(B))

Definition at line 98 of file pcgemrdrv.c.

◆ min

#define min (   A,
 
)    ((A)>(B)?(B):(A))

Definition at line 99 of file pcgemrdrv.c.

◆ nbparameter

#define nbparameter   24

◆ NDEBUG

#define NDEBUG

Definition at line 158 of file pcgemrdrv.c.

◆ RECVBUFF

#define RECVBUFF   1

Definition at line 152 of file pcgemrdrv.c.

◆ ROUNDUP

#define ROUNDUP (   a,
 
)    (DIVUP(a,b)*(b))

Definition at line 101 of file pcgemrdrv.c.

◆ scan_intervals

#define scan_intervals   cgescan_intervals

Definition at line 142 of file pcgemrdrv.c.

◆ scanD0

#define scanD0   cgescanD0

Definition at line 138 of file pcgemrdrv.c.

◆ SENDBUFF

#define SENDBUFF   0

Definition at line 151 of file pcgemrdrv.c.

◆ setmemory

#define setmemory   cgesetmemory

Definition at line 140 of file pcgemrdrv.c.

◆ SHIFT

#define SHIFT (   row,
  sprow,
  nbrow 
)    ((row)-(sprow)+ ((row) >= (sprow) ? 0 : (nbrow)))

Definition at line 97 of file pcgemrdrv.c.

◆ SIZEBUFF

#define SIZEBUFF   2

Definition at line 153 of file pcgemrdrv.c.

◆ static2

#define static2   static

Definition at line 61 of file pcgemrdrv.c.

Function Documentation

◆ Cblacs_exit()

void Cblacs_exit ( )

◆ Cblacs_get()

void Cblacs_get ( )
Here is the caller graph for this function:

◆ Cblacs_gridexit()

void Cblacs_gridexit ( )

◆ Cblacs_gridinfo()

void Cblacs_gridinfo ( )
Here is the caller graph for this function:

◆ Cblacs_gridinit()

void Cblacs_gridinit ( )
Here is the caller graph for this function:

◆ Cblacs_pcoord()

void Cblacs_pcoord ( )

◆ Cblacs_pinfo()

void Cblacs_pinfo ( )
Here is the caller graph for this function:

◆ Cblacs_pnum()

int Cblacs_pnum ( )

◆ Cblacs_setup()

void Cblacs_setup ( )
Here is the caller graph for this function:

◆ Ccgerv2d()

void Ccgerv2d ( )

◆ Ccgesd2d()

void Ccgesd2d ( )

◆ changeorigin()

int changeorigin ( )

◆ Cigamn2d()

void Cigamn2d ( )

◆ Cigamx2d()

void Cigamx2d ( )

◆ Cigebr2d()

void Cigebr2d ( )

◆ Cigebs2d()

void Cigebs2d ( )

◆ Cigerv2d()

void Cigerv2d ( )

◆ Cigesd2d()

void Cigesd2d ( )

◆ Cigsum2d()

void Cigsum2d ( )

◆ Clacpy()

void Clacpy ( )

◆ clacpy_()

void clacpy_ ( )

◆ Cpcgemr2d()

void Cpcgemr2d ( )

◆ Cpcgemr2do()

void Cpcgemr2do ( )

◆ Csetpvmtids()

void Csetpvmtids ( )

◆ dispmat()

void dispmat ( )

◆ freememory()

void freememory ( )

◆ initblock()

static2 void initblock ( complex block,
int  m,
int  n 
)

Definition at line 168 of file pcgemrdrv.c.

◆ initforpvm()

void initforpvm ( int  argc,
argv   
)

Definition at line 228 of file pcgemrdrv.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ localindice()

int localindice ( )

◆ localsize()

int localsize ( )

◆ main()

int main ( int  argc,
argv   
)

Definition at line 247 of file pcgemrdrv.c.

Here is the call graph for this function:

◆ memoryblocksize()

int memoryblocksize ( )

◆ mr2d_malloc()

void* mr2d_malloc ( )

◆ paramcheck()

void paramcheck ( )

◆ ppcm()

int ppcm ( )

◆ scan_intervals()

int scan_intervals ( )

◆ scanD0()

void scanD0 ( )

◆ setmemory()

void setmemory ( )