OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
blacs_barr_.c File Reference
#include "
Bdef.h
"
Go to the source code of this file.
Functions
F_VOID_FUNC
blacs_barrier_
(
Int
*ConTxt,
F_CHAR
scope)
Function Documentation
◆
blacs_barrier_()
F_VOID_FUNC
blacs_barrier_
(
Int
*
ConTxt
,
F_CHAR
scope
)
Definition at line
6
of file
blacs_barr_.c
.
8
{
9
char
tscope;
10
Int
ierr
;
11
BLACSCONTEXT
*ctxt;
12
13
tscope =
F2C_CharTrans
(scope);
14
tscope =
Mlowcase
(tscope);
15
MGetConTxt
(
Mpval
(ConTxt), ctxt);
16
switch
(tscope)
17
{
18
case
'r'
:
19
MPI_Barrier(ctxt->
rscp
.
comm
);
20
break
;
21
case
'c'
:
22
MPI_Barrier(ctxt->
cscp
.
comm
);
23
break
;
24
case
'a'
:
25
MPI_Barrier(ctxt->
ascp
.
comm
);
26
break
;
27
}
28
}
Int
#define Int
Definition
Bconfig.h:22
F2C_CharTrans
#define F2C_CharTrans(c)
Definition
Bdef.h:246
MGetConTxt
#define MGetConTxt(Context, ctxtptr)
Definition
Bdef.h:200
BLACSCONTEXT
struct bLaCsCoNtExT BLACSCONTEXT
Definition
Bdef.h:22
Mpval
#define Mpval(para)
Definition
Bdef.h:261
Mlowcase
#define Mlowcase(C)
Definition
Bdef.h:145
message_mod2::ierr
integer ierr
Definition
message_mod2.F:53
bLaCsCoNtExT::ascp
BLACSSCOPE ascp
Definition
Bdef.h:25
bLaCsCoNtExT::rscp
BLACSSCOPE rscp
Definition
Bdef.h:25
bLaCsCoNtExT::cscp
BLACSSCOPE cscp
Definition
Bdef.h:25
bLaCsScOpE::comm
MPI_Comm comm
Definition
Bdef.h:15
engine
extlib
scalapack-2.2.0
BLACS
SRC
blacs_barr_.c
Generated by
1.15.0