ScaLAPACK 2.1  2.1
ScaLAPACK: Scalable Linear Algebra PACKage
pitrmrdrv.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 pitrmrdrv.c:

Go to the source code of this file.

Data Structures

struct  MDESC
 
struct  IDESC
 

Macros

#define static2   static
 
#define fortran_mr2d   pitrmr2do
 
#define fortran_mr2dnew   pitrmr2d
 
#define icopy_   icopy
 
#define ilacpy_   ilacpy
 
#define Clacpy   Citrlacpy
 
#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   itrscanD0
 
#define dispmat   itrdispmat
 
#define setmemory   itrsetmemory
 
#define freememory   itrfreememory
 
#define scan_intervals   itrscan_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 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 Cpitrmr2do ()
 
void Cpitrmr2d ()
 
static2 void initblock (int *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 88 of file pitrmrdrv.c.

◆ Clacpy

#define Clacpy   Citrlacpy

Definition at line 75 of file pitrmrdrv.c.

◆ dispmat

#define dispmat   itrdispmat

Definition at line 135 of file pitrmrdrv.c.

◆ DIVUP

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

Definition at line 96 of file pitrmrdrv.c.

◆ fortran_mr2d

#define fortran_mr2d   pitrmr2do

Definition at line 70 of file pitrmrdrv.c.

◆ fortran_mr2dnew

#define fortran_mr2dnew   pitrmr2d

Definition at line 71 of file pitrmrdrv.c.

◆ freememory

#define freememory   itrfreememory

Definition at line 137 of file pitrmrdrv.c.

◆ icopy_

#define icopy_   icopy

Definition at line 72 of file pitrmrdrv.c.

◆ ilacpy_

#define ilacpy_   ilacpy

Definition at line 73 of file pitrmrdrv.c.

◆ max

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

Definition at line 94 of file pitrmrdrv.c.

◆ min

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

Definition at line 95 of file pitrmrdrv.c.

◆ nbparameter

#define nbparameter   24

◆ NDEBUG

#define NDEBUG

Definition at line 154 of file pitrmrdrv.c.

◆ RECVBUFF

#define RECVBUFF   1

Definition at line 148 of file pitrmrdrv.c.

◆ ROUNDUP

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

Definition at line 97 of file pitrmrdrv.c.

◆ scan_intervals

#define scan_intervals   itrscan_intervals

Definition at line 138 of file pitrmrdrv.c.

◆ scanD0

#define scanD0   itrscanD0

Definition at line 134 of file pitrmrdrv.c.

◆ SENDBUFF

#define SENDBUFF   0

Definition at line 147 of file pitrmrdrv.c.

◆ setmemory

#define setmemory   itrsetmemory

Definition at line 136 of file pitrmrdrv.c.

◆ SHIFT

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

Definition at line 93 of file pitrmrdrv.c.

◆ SIZEBUFF

#define SIZEBUFF   2

Definition at line 149 of file pitrmrdrv.c.

◆ static2

#define static2   static

Definition at line 60 of file pitrmrdrv.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:

◆ 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 ( )

◆ Cpitrmr2d()

void Cpitrmr2d ( )

◆ Cpitrmr2do()

void Cpitrmr2do ( )

◆ Csetpvmtids()

void Csetpvmtids ( )

◆ dispmat()

void dispmat ( )

◆ freememory()

void freememory ( )

◆ ilacpy_()

void ilacpy_ ( )

◆ initblock()

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

Definition at line 164 of file pitrmrdrv.c.

◆ initforpvm()

void initforpvm ( int  argc,
argv   
)

Definition at line 224 of file pitrmrdrv.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 243 of file pitrmrdrv.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 ( )