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

Go to the source code of this file.

Data Structures

struct  MDESC
 
struct  IDESC
 

Macros

#define static2   static
 
#define fortran_mr2d   pdgemr2do
 
#define fortran_mr2dnew   pdgemr2d
 
#define dcopy_   dcopy
 
#define dlacpy_   dlacpy
 
#define Clacpy   Cdgelacpy
 
#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   dgescanD0
 
#define dispmat   dgedispmat
 
#define setmemory   dgesetmemory
 
#define freememory   dgefreememory
 
#define scan_intervals   dgescan_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 Cdgesd2d ()
 
void Cdgerv2d ()
 
void dlacpy_ ()
 
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 Cpdgemr2do ()
 
void Cpdgemr2d ()
 
void setmemory (double **adpointer, int blocksize)
 
void freememory (double *ptrtobefreed)
 
int scan_intervals (char type, int ja, int jb, int n, MDESC *ma, MDESC *mb, int q0, int q1, int col0, int col1, IDESC *result)
 

Macro Definition Documentation

◆ BLOCK_CYCLIC_2D

#define BLOCK_CYCLIC_2D   1

Definition at line 36 of file pdgemr2.c.

◆ Clacpy

#define Clacpy   Cdgelacpy

Definition at line 23 of file pdgemr2.c.

◆ dcopy_

#define dcopy_   dcopy

Definition at line 20 of file pdgemr2.c.

◆ dispmat

#define dispmat   dgedispmat

Definition at line 83 of file pdgemr2.c.

◆ DIVUP

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

Definition at line 44 of file pdgemr2.c.

◆ dlacpy_

#define dlacpy_   dlacpy

Definition at line 21 of file pdgemr2.c.

◆ fortran_mr2d

#define fortran_mr2d   pdgemr2do

Definition at line 18 of file pdgemr2.c.

◆ fortran_mr2dnew

#define fortran_mr2dnew   pdgemr2d

Definition at line 19 of file pdgemr2.c.

◆ freememory

#define freememory   dgefreememory

Definition at line 85 of file pdgemr2.c.

◆ max

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

Definition at line 42 of file pdgemr2.c.

◆ min

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

Definition at line 43 of file pdgemr2.c.

◆ NDEBUG

#define NDEBUG

Definition at line 102 of file pdgemr2.c.

◆ RECVBUFF

#define RECVBUFF   1

Definition at line 96 of file pdgemr2.c.

◆ ROUNDUP

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

Definition at line 45 of file pdgemr2.c.

◆ scan_intervals

#define scan_intervals   dgescan_intervals

Definition at line 86 of file pdgemr2.c.

◆ scanD0

#define scanD0   dgescanD0

Definition at line 82 of file pdgemr2.c.

◆ SENDBUFF

#define SENDBUFF   0

Definition at line 95 of file pdgemr2.c.

◆ setmemory

#define setmemory   dgesetmemory

Definition at line 84 of file pdgemr2.c.

◆ SHIFT

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

Definition at line 41 of file pdgemr2.c.

◆ SIZEBUFF

#define SIZEBUFF   2

Definition at line 97 of file pdgemr2.c.

◆ static2

#define static2   static

Definition at line 8 of file pdgemr2.c.

Function Documentation

◆ Cblacs_exit()

void Cblacs_exit ( )

◆ Cblacs_get()

void Cblacs_get ( )

◆ Cblacs_gridexit()

void Cblacs_gridexit ( )

◆ Cblacs_gridinfo()

void Cblacs_gridinfo ( )

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

◆ Cdgerv2d()

void Cdgerv2d ( )

◆ Cdgesd2d()

void Cdgesd2d ( )

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

◆ Cpdgemr2d()

void Cpdgemr2d ( )

◆ Cpdgemr2do()

void Cpdgemr2do ( )

◆ Csetpvmtids()

void Csetpvmtids ( )

◆ dispmat()

void dispmat ( )

◆ dlacpy_()

void dlacpy_ ( )

◆ freememory() [1/2]

void freememory ( )

◆ freememory() [2/2]

void freememory ( double *  ptrtobefreed)

Definition at line 128 of file pdgemr2.c.

◆ localindice()

int localindice ( )

◆ localsize()

int localsize ( )

◆ memoryblocksize()

int memoryblocksize ( )

◆ mr2d_malloc()

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

◆ paramcheck()

void paramcheck ( )

◆ ppcm()

int ppcm ( )

◆ scan_intervals() [1/2]

int scan_intervals ( )

◆ scan_intervals() [2/2]

int scan_intervals ( char  type,
int  ja,
int  jb,
int  n,
MDESC ma,
MDESC mb,
int  q0,
int  q1,
int  col0,
int  col1,
IDESC result 
)

Definition at line 141 of file pdgemr2.c.

◆ scanD0()

void scanD0 ( )

◆ setmemory() [1/2]

void setmemory ( )

◆ setmemory() [2/2]

void setmemory ( double **  adpointer,
int  blocksize 
)

Definition at line 113 of file pdgemr2.c.

Here is the call graph for this function: