59 void BI_ArgCheck(
Int,
Int,
char *,
char,
char,
char,
Int,
Int,
Int,
Int,
82 Int N, length, dest, tlda, trdest, ierr, itr;
97 if (ttop ==
' ') ttop = DefCombTop;
99 if (
Mpval(cdest) == -1) trdest = -1;
100 else trdest =
Mpval(rdest);
101#if (BlacsDebugLvl > 0)
106 else tlda =
Mpval(m);
111 if (trdest == -1) dest = -1;
112 else dest =
Mpval(cdest);
120 if (trdest == -1) dest = -1;
134 if (ttop ==
' ')
if ( (
Mpval(m) < 1) || (
Mpval(n) < 1) ) ttop =
'1';
136 length = N *
sizeof(
Int);
143 bp->
Buff = (
char *) A;
157 MPI_Type_match_size(MPI_TYPECLASS_INTEGER,
sizeof(
Int), &Dtype);
168 if (ctxt->
scp->
Iam == dest)
173 ierr=MPI_Allreduce(bp->
Buff, bp2->
Buff, bp->
N, bp->
dtype, MPI_SUM,
228 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_imvcopy(Int m, Int n, Int *A, Int lda, Int *buff)
void BI_ivmcopy(Int m, Int n, Int *A, Int lda, Int *buff)
void BI_ivvsum(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 igsum2d_(Int *ConTxt, F_CHAR scope, F_CHAR top, Int *m, Int *n, Int *A, Int *lda, Int *rdest, Int *cdest)