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

◆ BI_BlacsErr()

void BI_BlacsErr ( Int  ConTxt,
Int  line,
char *  file,
char *  form,
  ... 
)

Definition at line 3 of file BI_BlacsErr.c.

4{
5#ifdef __STDC__
6 void BI_BlacsAbort(Int ErrNo);
7#else
8 void BI_BlacsAbort();
9#endif
10 extern Int BI_Iam;
11 Int myrow, mycol;
12 va_list argptr;
13 char cline[100];
14 BLACSCONTEXT *ctxt;
15
16 va_start(argptr, form);
17 vsprintf(cline, form, argptr);
18 va_end(argptr);
19
20 if (ConTxt > -1)
21 {
22 MGetConTxt(ConTxt, ctxt);
23 myrow = ctxt->cscp.Iam;
24 mycol = ctxt->rscp.Iam;
25 }
26 else myrow = mycol = -1;
27
28 fprintf(stderr,
29"BLACS ERROR '%s'\nfrom {%d,%d}, pnum=%d, Contxt=%d, on line %d of file '%s'.\n\n",
30 cline, myrow, mycol, BI_Iam, ConTxt, line, file);
31
33}
void BI_BlacsAbort(Int ErrNo)
Int BI_Iam
#define Int
Definition Bconfig.h:22
#define MGetConTxt(Context, ctxtptr)
Definition Bdef.h:200
BLACSSCOPE rscp
Definition Bdef.h:25
BLACSSCOPE cscp
Definition Bdef.h:25
Int Iam
Definition Bdef.h:17
Here is the call graph for this function:
Here is the caller graph for this function: