OpenRadioss
2025.1.11
OpenRadioss project
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
struct bLaCsCoNtExT BLACSCONTEXT
Definition
Bdef.h:22
engine
extlib
scalapack-2.2.0
BLACS
SRC
BI_BlacsWarn.c
Generated by
1.15.0