SCALAPACK 2.2.2
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches
BI_BlacsWarn.c
Go to the documentation of this file.
1#include "Bdef.h"
2
3void BI_BlacsWarn(Int ConTxt, Int line, char *file, char *form, ...)
4{
5 extern Int BI_Iam;
7 Int myrow, mycol;
8 va_list argptr;
9 char cline[100];
10
11 va_start(argptr, form);
12 vsprintf(cline, form, argptr);
13 va_end(argptr);
14
15 if (ConTxt > -1)
16 {
17 myrow = BI_MyContxts[ConTxt]->cscp.Iam;
18 mycol = BI_MyContxts[ConTxt]->rscp.Iam;
19 }
20 else myrow = mycol = -1;
21
22 fprintf(stderr,
23"BLACS WARNING '%s'\nfrom {%d,%d}, pnum=%d, Contxt=%d, on line %d of file '%s'.\n\n",
24 cline, myrow, mycol, BI_Iam, ConTxt, line, file);
25}
void BI_BlacsWarn(Int ConTxt, Int line, char *file, char *form,...)
Definition BI_BlacsWarn.c:3
Int BI_Iam
BLACSCONTEXT ** BI_MyContxts
#define Int
Definition Bconfig.h:22
BLACSSCOPE rscp
Definition Bdef.h:25
BLACSSCOPE cscp
Definition Bdef.h:25
Int Iam
Definition Bdef.h:17