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
3
void
BI_BlacsWarn
(
Int
ConTxt,
Int
line,
char
*file,
char
*form, ...)
4
{
5
extern
Int
BI_Iam
;
6
extern
BLACSCONTEXT
**
BI_MyContxts
;
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
}
BI_BlacsWarn
void BI_BlacsWarn(Int ConTxt, Int line, char *file, char *form,...)
Definition
BI_BlacsWarn.c:3
BI_Iam
Int BI_Iam
Definition
BI_GlobalVars.c:7
BI_MyContxts
BLACSCONTEXT ** BI_MyContxts
Definition
BI_GlobalVars.c:11
Int
#define Int
Definition
Bconfig.h:22
Bdef.h
bLaCsCoNtExT::rscp
BLACSSCOPE rscp
Definition
Bdef.h:25
bLaCsCoNtExT::cscp
BLACSSCOPE cscp
Definition
Bdef.h:25
bLaCsCoNtExT
Definition
Bdef.h:24
bLaCsScOpE::Iam
Int Iam
Definition
Bdef.h:17
BLACS
SRC
BI_BlacsWarn.c
Generated on Sun Jan 12 2025 15:58:37 for SCALAPACK by
1.9.8