SCALAPACK 2.2.2
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches
blacs_abort_.c
Go to the documentation of this file.
1#include "Bdef.h"
2
3#if (INTFACE == C_CALL)
4void Cblacs_abort(Int ConTxt, Int ErrNo)
5#else
7#endif
8{
9 void Cblacs_gridinfo(Int, Int *, Int *, Int *, Int *);
10 void BI_BlacsAbort(Int ErrNo);
11 Int nprow, npcol, myrow, mycol;
12 extern Int BI_Iam;
13
14 Cblacs_gridinfo(Mpval(ConTxt), &nprow, &npcol, &myrow, &mycol);
15 fprintf(stderr,
16"{%d,%d}, pnum=%d, Contxt=%d, killed other procs, exiting with error #%d.\n\n",
17 myrow, mycol, BI_Iam, Mpval(ConTxt), Mpval(ErrNo));
18
19 BI_BlacsAbort(Mpval(ErrNo));
20}
void BI_BlacsAbort(Int ErrNo)
Int BI_Iam
#define Int
Definition Bconfig.h:22
#define F_VOID_FUNC
Definition Bdef.h:232
#define Mpval(para)
Definition Bdef.h:261
void Cblacs_abort()
void Cblacs_gridinfo()
F_VOID_FUNC blacs_abort_(Int *ConTxt, Int *ErrNo)
Definition blacs_abort_.c:6