70{
71 void BI_ArgCheck(
Int,
Int,
char *,
char,
char,
char,
Int,
Int,
Int,
Int,
86
90 MPI_Datatype MatTyp;
91 Int length, src, tlda, error, one=1;
92 char ttop, tscope, tuplo, tdiag;
94
104#if (BlacsDebugLvl > 0)
107#endif
108
109
110
111
112#ifdef DefBSTop
113 if (ttop == ' ') ttop = DefBSTop;
114#endif
116 else tlda =
Mpval(m);
117
118 switch(tscope)
119 {
120 case 'r':
123 break;
124 case 'c':
127 break;
128 case 'a':
131 break;
132 default:
134 tscope);
135 }
136
139
140
141
142 if (ttop == ' ')
143 {
147 return;
148 }
149
150
151
152
153#ifdef MpiBuffGood
158#else
159
161 MPI_Pack_size(one, MatTyp, ctxt->
scp->
comm, &length);
164 bp->
dtype = MPI_PACKED;
165#if ZeroByteTypeBug
166 if (MatTyp == MPI_BYTE)
167 {
170 bp->
dtype = MPI_BYTE;
171 }
172#endif
173
174#endif
175
176 switch(ttop)
177 {
178 case 'h':
179 error =
BI_HypBR(ctxt, bp, send, src);
181 break;
182 case '1':
183 case '2':
184 case '3':
185 case '4':
186 case '5':
187 case '6':
188 case '7':
189 case '8':
190 case '9':
192 break;
193 case 't':
195 break;
196 case 'i':
198 break;
199 case 'd':
201 break;
202 case 's':
204 break;
205 case 'm':
207 break;
208 case 'f':
210 break;
211 default :
213 ttop);
214 }
215
216#ifdef MpiBuffGood
219#endif
220#ifndef MpiBuffGood
223#endif
224}
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_Asend(BLACSCONTEXT *ctxt, Int dest, Int msgid, BLACBUFF *bp)
Int BI_BuffIsFree(BLACBUFF *bp, Int Wait)
BLACBUFF * BI_GetBuff(Int length)
MPI_Datatype BI_GetMpiTrType(BLACSCONTEXT *ctxt, char uplo, char diag, Int m, Int n, Int lda, MPI_Datatype Dtype, Int *N)
Int BI_HypBR(BLACSCONTEXT *ctxt, BLACBUFF *bp, SDRVPTR send, Int src)
void BI_IdringBR(BLACSCONTEXT *ctxt, BLACBUFF *bp, SDRVPTR send, Int src, Int step)
void BI_MpathBR(BLACSCONTEXT *ctxt, BLACBUFF *bp, SDRVPTR send, Int src, Int npaths)
void BI_SringBR(BLACSCONTEXT *ctxt, BLACBUFF *bp, SDRVPTR send, Int src)
void BI_Ssend(BLACSCONTEXT *ctxt, Int dest, Int msgid, BLACBUFF *bp)
void BI_TreeBR(BLACSCONTEXT *ctxt, BLACBUFF *bp, SDRVPTR send, Int src, Int nbranches)
void BI_Unpack(BLACSCONTEXT *ctxt, BVOID *A, BLACBUFF *bp, MPI_Datatype Dtype)
void BI_UpdateBuffs(BLACBUFF *Newbp)
void BI_BlacsErr(Int ConTxt, Int line, char *file, char *form,...)
#define BI_MPI_TYPE_FREE(t)
#define Mvkpnum(ctxt, prow, pcol)
#define MGetConTxt(Context, ctxtptr)
void(* SDRVPTR)(BLACSCONTEXT *, Int, Int, BLACBUFF *)