48{
49 void BI_ArgCheck(
Int,
Int,
char *,
char,
char,
char,
Int,
Int,
Int,
Int,
64
65 char ttop, tscope;
67 MPI_Datatype IntTyp, MatTyp;
72
73
74
80#if (BlacsDebugLvl > 0)
83#endif
84
85
86
87
88#ifdef DefBSTop
89 if (ttop == ' ') ttop = DefBSTop;
90#endif
92 else tlda =
Mpval(lda);
93
94 switch(tscope)
95 {
96 case 'r':
98 break;
99 case 'c':
101 break;
102 case 'a':
104 break;
105 default:
107 tscope);
108 }
109
110 MPI_Type_match_size(MPI_TYPECLASS_INTEGER,
sizeof(
Int), &IntTyp);
113
114
115
116 if (ttop == ' ')
117 {
121 return;
122 }
123
124
125
126
127#ifndef MpiBuffGood
128
129
130
131 else if ( (tlda ==
Mpval(m)) || (
Mpval(n) == 1) )
132 {
133#endif
138#ifndef MpiBuffGood
139 }
140 else
141 {
144 }
145#endif
146
147
148
149
150 switch(ttop)
151 {
152 case 'h':
155 break;
156 case '1':
157 case '2':
158 case '3':
159 case '4':
160 case '5':
161 case '6':
162 case '7':
163 case '8':
164 case '9':
166 break;
167 case 't':
169 break;
170 case 'i':
172 break;
173 case 'd':
175 break;
176 case 's':
178 break;
179 case 'f':
181 break;
182 case 'm':
184 break;
185 default :
186 BI_BlacsErr(
Mpval(ConTxt), __LINE__, __FILE__,
"Unknown topology '%c'",ttop);
187 }
188
191 {
193 }
195}
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_GetMpiGeType(BLACSCONTEXT *ctxt, Int m, Int n, Int lda, MPI_Datatype Dtype, Int *N)
Int BI_HypBS(BLACSCONTEXT *ctxt, BLACBUFF *bp, SDRVPTR send)
void BI_IdringBS(BLACSCONTEXT *ctxt, BLACBUFF *bp, SDRVPTR send, Int step)
void BI_MpathBS(BLACSCONTEXT *ctxt, BLACBUFF *bp, SDRVPTR send, Int npaths)
BLACBUFF * BI_Pack(BLACSCONTEXT *ctxt, BVOID *A, BLACBUFF *bp, MPI_Datatype Dtype)
void BI_SringBS(BLACSCONTEXT *ctxt, BLACBUFF *bp, SDRVPTR send)
void BI_Ssend(BLACSCONTEXT *ctxt, Int dest, Int msgid, BLACBUFF *bp)
void BI_TreeBS(BLACSCONTEXT *ctxt, BLACBUFF *bp, SDRVPTR send, Int nbranches)
void BI_UpdateBuffs(BLACBUFF *Newbp)
void BI_BlacsErr(Int ConTxt, Int line, char *file, char *form,...)
#define BI_MPI_TYPE_FREE(t)
#define MGetConTxt(Context, ctxtptr)
void(* SDRVPTR)(BLACSCONTEXT *, Int, Int, BLACBUFF *)