From a6bc1186c35ad0b4ee2df45144124495243a82d6 Mon Sep 17 00:00:00 2001 From: jhendersonHDF Date: Tue, 17 Oct 2023 11:16:48 -0500 Subject: Initialize API context MPI types to MPI_BYTE (#3688) --- src/H5CX.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/H5CX.c b/src/H5CX.c index aa9d0b5..b3b2fca 100644 --- a/src/H5CX.c +++ b/src/H5CX.c @@ -778,6 +778,11 @@ H5CX__push_common(H5CX_node_t *cnode) cnode->ctx.tag = H5AC__INVALID_TAG; cnode->ctx.ring = H5AC_RING_USER; +#ifdef H5_HAVE_PARALLEL + cnode->ctx.btype = MPI_BYTE; + cnode->ctx.ftype = MPI_BYTE; +#endif + /* Push context node onto stack */ cnode->next = *head; *head = cnode; -- cgit v0.12