SCALAPACK 2.2.2
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches

◆ checkequal()

void checkequal ( Int  ctxt,
Int  a 
)

Definition at line 186 of file pgemraux.c.

187{
188 Int np, dummy, nbrow, myp, b;
189 Cblacs_gridinfo(ctxt, &nbrow, &np, &dummy, &myp);
190 assert(nbrow == 1);
191 if (np == 1)
192 return;
193 if (myp == 0) {
194 Cigesd2d(ctxt, (Int)1, (Int)1, &a, (Int)1, (Int)0, (Int)1);
195 Cigerv2d(ctxt, (Int)1, (Int)1, &b, (Int)1, (Int)0, np - 1);
196 assert(a == b);
197 } else {
198 Cigerv2d(ctxt, (Int)1, (Int)1, &b, (Int)1, (Int)0, myp - 1);
199 assert(a == b);
200 Cigesd2d(ctxt, (Int)1, (Int)1, &a, (Int)1, (Int)0, (myp + 1) % np);
201 }
202}
#define Int
Definition Bconfig.h:22
void Cigerv2d()
void Cblacs_gridinfo()
void Cigesd2d()
Here is the call graph for this function:
Here is the caller graph for this function: