|
ScaLAPACK 2.1
2.1
ScaLAPACK: Scalable Linear Algebra PACKage
|
Go to the documentation of this file.
4 #if (INTFACE == C_CALL)
5 void Cigsum2d(
int ConTxt,
char *scope,
char *top,
int m,
int n,
int *A,
6 int lda,
int rdest,
int cdest)
9 int *A,
int *lda,
int *rdest,
int *cdest)
59 void BI_ArgCheck(
int,
int,
char *,
char,
char,
char,
int,
int,
int,
int,
82 int N, length, dest, tlda, trdest, ierr, itr;
96 if (ttop ==
' ') ttop = DefCombTop;
98 if (
Mpval(cdest) == -1) trdest = -1;
99 else trdest =
Mpval(rdest);
100 #if (BlacsDebugLvl > 0)
105 else tlda =
Mpval(m);
110 if (trdest == -1) dest = -1;
111 else dest =
Mpval(cdest);
119 if (trdest == -1) dest = -1;
133 if (ttop ==
' ')
if ( (
Mpval(m) < 1) || (
Mpval(n) < 1) ) ttop =
'1';
135 length = N *
sizeof(int);
142 bp->
Buff = (
char *) A;
165 if (ctxt->
scp->
Iam == dest)
170 ierr=MPI_Allreduce(bp->
Buff, bp2->
Buff, bp->
N, bp->
dtype, MPI_SUM,
225 if ( (ctxt->
scp->
Iam == dest) || (dest == -1) )
BLACBUFF * BI_Pack(BLACSCONTEXT *ctxt, BVOID *A, BLACBUFF *bp, MPI_Datatype Dtype)
void BI_BeComb(BLACSCONTEXT *ctxt, BLACBUFF *bp, BLACBUFF *bp2, int N, VVFUNPTR Xvvop)
void BI_ivvsum(int N, char *vec1, char *vec2)
F_VOID_FUNC igsum2d_(int *ConTxt, F_CHAR scope, F_CHAR top, int *m, int *n, int *A, int *lda, int *rdest, int *cdest)
BLACBUFF * BI_GetBuff(int length)
void BI_Unpack(BLACSCONTEXT *ctxt, BVOID *A, BLACBUFF *bp, MPI_Datatype Dtype)
void BI_ivmcopy(int m, int n, int *A, int lda, int *buff)
#define MGetConTxt(Context, ctxtptr)
void(* VVFUNPTR)(int, char *, char *)
void BI_MringComb(BLACSCONTEXT *ctxt, BLACBUFF *bp, BLACBUFF *bp2, int N, VVFUNPTR Xvvop, int dest, int nrings)
void BI_TreeComb(BLACSCONTEXT *ctxt, BLACBUFF *bp, BLACBUFF *bp2, int N, VVFUNPTR Xvvop, int dest, int nbranches)
MPI_Datatype BI_GetMpiGeType(BLACSCONTEXT *ctxt, int m, int n, int lda, MPI_Datatype Dtype, int *N)
void BI_BlacsErr(int ConTxt, int line, char *file, char *form,...)
void BI_imvcopy(int m, int n, int *A, int lda, int *buff)
void BI_ArgCheck(int ConTxt, int RoutType, char *routine, char scope, char uplo, char diag, int m, int n, int lda, int nprocs, int *prows, int *pcols)
#define Mvkpnum(ctxt, prow, pcol)
void BI_UpdateBuffs(BLACBUFF *Newbp)
int BI_BuffIsFree(BLACBUFF *bp, int Wait)