SCALAPACK
2.2.2
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches
BI_Unpack.c
Go to the documentation of this file.
1
#include "
Bdef.h
"
2
3
void
BI_Unpack
(
BLACSCONTEXT
*ctxt,
BVOID
*A,
BLACBUFF
*bp, MPI_Datatype Dtype)
4
{
5
MpiInt
i=0, info, one=1;
6
7
/*
8
* Some versions of mpich and its derivitives cannot handle 0 byte typedefs,
9
* so we have set MPI_BYTE as a flag for a 0 byte message
10
*/
11
#ifdef ZeroByteTypeBug
12
if
(Dtype == MPI_BYTE)
return
;
13
#endif
14
info=MPI_Unpack(bp->
Buff
, bp->
Len
, &i, A, one, Dtype, ctxt->
scp
->
comm
);
15
info=MPI_Type_free(&Dtype);
16
}
BI_Unpack
void BI_Unpack(BLACSCONTEXT *ctxt, BVOID *A, BLACBUFF *bp, MPI_Datatype Dtype)
Definition
BI_Unpack.c:3
MpiInt
#define MpiInt
Definition
Bconfig.h:25
BVOID
#define BVOID
Definition
Bdef.h:136
Bdef.h
bLaCbUfF::Len
Int Len
Definition
Bdef.h:57
bLaCbUfF::Buff
char * Buff
Definition
Bdef.h:56
bLaCbUfF
Definition
Bdef.h:55
bLaCsCoNtExT::scp
BLACSSCOPE * scp
Definition
Bdef.h:26
bLaCsCoNtExT
Definition
Bdef.h:24
bLaCsScOpE::comm
MPI_Comm comm
Definition
Bdef.h:15
BLACS
SRC
BI_Unpack.c
Generated on Sun Jan 12 2025 15:58:37 for SCALAPACK by
1.9.8