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

◆ BI_ContxtNum()

Int BI_ContxtNum ( BLACSCONTEXT ctxt)

Definition at line 3 of file BI_ContxtNum.c.

7{
8 Int i;
9 extern Int BI_MaxNCtxt;
11
12 if (ctxt == NULL) return(-1);
13 for (i=0; i < BI_MaxNCtxt; i++) if (BI_MyContxts[i] == ctxt) break;
14 if (i == BI_MaxNCtxt)
15 BI_BlacsErr(-1, -1, "BLACS INTERNAL ROUTINE", "illegal context");
16 return(i);
17}
BLACSCONTEXT ** BI_MyContxts
Int BI_MaxNCtxt
#define Int
Definition Bconfig.h:22
void BI_BlacsErr(Int ConTxt, Int line, char *file, char *form,...)
Definition BI_BlacsErr.c:3
Here is the call graph for this function:
Here is the caller graph for this function: