9 float *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;
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;
136 length = N *
sizeof(float);
143 bp->
Buff = (
char *) A;
166 if (ctxt->
scp->
Iam == dest)
171 ierr=MPI_Allreduce(bp->
Buff, bp2->
Buff, bp->
N, bp->
dtype, MPI_SUM,
226 if ( (ctxt->
scp->
Iam == dest) || (dest == -1) )
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)
void BI_BeComb(BLACSCONTEXT *ctxt, BLACBUFF *bp, BLACBUFF *bp2, Int N, VVFUNPTR Xvvop)
Int BI_BuffIsFree(BLACBUFF *bp, Int Wait)
BLACBUFF * BI_GetBuff(Int length)
MPI_Datatype BI_GetMpiGeType(BLACSCONTEXT *ctxt, Int m, Int n, Int lda, MPI_Datatype Dtype, Int *N)
void BI_MringComb(BLACSCONTEXT *ctxt, BLACBUFF *bp, BLACBUFF *bp2, Int N, VVFUNPTR Xvvop, Int dest, Int nrings)
BLACBUFF * BI_Pack(BLACSCONTEXT *ctxt, BVOID *A, BLACBUFF *bp, MPI_Datatype Dtype)
void BI_TreeComb(BLACSCONTEXT *ctxt, BLACBUFF *bp, BLACBUFF *bp2, Int N, VVFUNPTR Xvvop, Int dest, Int nbranches)
void BI_Unpack(BLACSCONTEXT *ctxt, BVOID *A, BLACBUFF *bp, MPI_Datatype Dtype)
void BI_UpdateBuffs(BLACBUFF *Newbp)
void BI_smvcopy(Int m, Int n, float *A, Int lda, float *buff)
void BI_svmcopy(Int m, Int n, float *A, Int lda, float *buff)
void BI_svvsum(Int N, char *vec1, char *vec2)
void BI_BlacsErr(Int ConTxt, Int line, char *file, char *form,...)
#define Mvkpnum(ctxt, prow, pcol)
#define MGetConTxt(Context, ctxtptr)
void(* VVFUNPTR)(Int, char *, char *)
F_VOID_FUNC sgsum2d_(Int *ConTxt, F_CHAR scope, F_CHAR top, Int *m, Int *n, float *A, Int *lda, Int *rdest, Int *cdest)