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

Go to the source code of this file.

Data Structures

struct  MDESC
 
struct  IDESC
 

Macros

#define static2   static
 
#define fortran_mr2d   pigemr2do
 
#define fortran_mr2dnew   pigemr2d
 
#define icopy_   icopy
 
#define ilacpy_   ilacpy
 
#define Clacpy   Cigelacpy
 
#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   igescanD0
 
#define dispmat   igedispmat
 
#define setmemory   igesetmemory
 
#define freememory   igefreememory
 
#define scan_intervals   igescan_intervals
 
#define SENDBUFF   0
 
#define RECVBUFF   1
 
#define SIZEBUFF   2
 
#define NDEBUG
 

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 ilacpy_ ()
 
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 Cpigemr2do ()
 
void Cpigemr2d ()
 
void * mr2d_malloc (int n)
 
int pgcd (int a, int b)
 
int ppcm (int a, int b)
 
int localsize (int myprow, int p, int nbrow, int m)
 
int memoryblocksize (MDESC *a)
 
void checkequal (int ctxt, int a)
 
void paramcheck (MDESC *a, int i, int j, int m, int n, int p, int q, gcontext)
 
int changeorigin (int myp, int sp, int p, int bs, int i, int *decal, int *newsp)
 
int localindice (int ig, int jg, int templateheight, int templatewidth, MDESC *a)
 

Macro Definition Documentation

◆ BLOCK_CYCLIC_2D

#define BLOCK_CYCLIC_2D   1

Definition at line 36 of file pgemraux.c.

◆ Clacpy

#define Clacpy   Cigelacpy

Definition at line 23 of file pgemraux.c.

◆ dispmat

#define dispmat   igedispmat

Definition at line 83 of file pgemraux.c.

◆ DIVUP

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

Definition at line 44 of file pgemraux.c.

◆ fortran_mr2d

#define fortran_mr2d   pigemr2do

Definition at line 18 of file pgemraux.c.

◆ fortran_mr2dnew

#define fortran_mr2dnew   pigemr2d

Definition at line 19 of file pgemraux.c.

◆ freememory

#define freememory   igefreememory

Definition at line 85 of file pgemraux.c.

◆ icopy_

#define icopy_   icopy

Definition at line 20 of file pgemraux.c.

◆ ilacpy_

#define ilacpy_   ilacpy

Definition at line 21 of file pgemraux.c.

◆ max

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

Definition at line 42 of file pgemraux.c.

◆ min

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

Definition at line 43 of file pgemraux.c.

◆ NDEBUG

#define NDEBUG

Definition at line 102 of file pgemraux.c.

◆ RECVBUFF

#define RECVBUFF   1

Definition at line 96 of file pgemraux.c.

◆ ROUNDUP

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

Definition at line 45 of file pgemraux.c.

◆ scan_intervals

#define scan_intervals   igescan_intervals

Definition at line 86 of file pgemraux.c.

◆ scanD0

#define scanD0   igescanD0

Definition at line 82 of file pgemraux.c.

◆ SENDBUFF

#define SENDBUFF   0

Definition at line 95 of file pgemraux.c.

◆ setmemory

#define setmemory   igesetmemory

Definition at line 84 of file pgemraux.c.

◆ SHIFT

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

Definition at line 41 of file pgemraux.c.

◆ SIZEBUFF

#define SIZEBUFF   2

Definition at line 97 of file pgemraux.c.

◆ static2

#define static2   static

Definition at line 8 of file pgemraux.c.

Function Documentation

◆ Cblacs_exit()

void Cblacs_exit ( )

◆ Cblacs_get()

void Cblacs_get ( )

◆ Cblacs_gridexit()

void Cblacs_gridexit ( )

◆ Cblacs_gridinfo()

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

◆ Cblacs_gridinit()

void Cblacs_gridinit ( )

◆ Cblacs_pcoord()

void Cblacs_pcoord ( )

◆ Cblacs_pinfo()

void Cblacs_pinfo ( )

◆ Cblacs_pnum()

int Cblacs_pnum ( )

◆ Cblacs_setup()

void Cblacs_setup ( )

◆ changeorigin() [1/2]

int changeorigin ( )

◆ changeorigin() [2/2]

int changeorigin ( int  myp,
int  sp,
int  p,
int  bs,
int  i,
int *  decal,
int *  newsp 
)

Definition at line 258 of file pgemraux.c.

◆ checkequal()

void checkequal ( int  ctxt,
int  a 
)

Definition at line 191 of file pgemraux.c.

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

◆ Cigamn2d()

void Cigamn2d ( )

◆ Cigamx2d()

void Cigamx2d ( )

◆ Cigebr2d()

void Cigebr2d ( )

◆ Cigebs2d()

void Cigebs2d ( )

◆ Cigerv2d()

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

◆ Cigesd2d()

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

◆ Cigsum2d()

void Cigsum2d ( )

◆ Clacpy()

void Clacpy ( )

◆ Cpigemr2d()

void Cpigemr2d ( )

◆ Cpigemr2do()

void Cpigemr2do ( )

◆ Csetpvmtids()

void Csetpvmtids ( )

◆ dispmat()

void dispmat ( )

◆ freememory()

void freememory ( )

◆ ilacpy_()

void ilacpy_ ( )

◆ localindice() [1/2]

int localindice ( )

◆ localindice() [2/2]

int localindice ( int  ig,
int  jg,
int  templateheight,
int  templatewidth,
MDESC a 
)

Definition at line 277 of file pgemraux.c.

Here is the call graph for this function:

◆ localsize() [1/2]

int localsize ( )
Here is the caller graph for this function:

◆ localsize() [2/2]

int localsize ( int  myprow,
int  p,
int  nbrow,
int  m 
)

Definition at line 148 of file pgemraux.c.

◆ memoryblocksize() [1/2]

int memoryblocksize ( )

◆ memoryblocksize() [2/2]

int memoryblocksize ( MDESC a)

Definition at line 177 of file pgemraux.c.

Here is the call graph for this function:

◆ mr2d_malloc() [1/2]

void* mr2d_malloc ( )

◆ mr2d_malloc() [2/2]

void* mr2d_malloc ( int  n)

Definition at line 108 of file pgemraux.c.

◆ paramcheck() [1/2]

void paramcheck ( )

◆ paramcheck() [2/2]

void paramcheck ( MDESC a,
int  i,
int  j,
int  m,
int  n,
int  p,
int  q,
gcontext   
)

Definition at line 210 of file pgemraux.c.

Here is the call graph for this function:

◆ pgcd()

int pgcd ( int  a,
int  b 
)

Definition at line 121 of file pgemraux.c.

Here is the caller graph for this function:

◆ ppcm() [1/2]

int ppcm ( )

◆ ppcm() [2/2]

int ppcm ( int  a,
int  b 
)

Definition at line 136 of file pgemraux.c.

Here is the call graph for this function:

◆ scan_intervals()

int scan_intervals ( )

◆ scanD0()

void scanD0 ( )

◆ setmemory()

void setmemory ( )