Skip to content

Commit

Permalink
Initialize API context MPI types to MPI_BYTE (#3688)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendersonHDF committed Oct 17, 2023
1 parent 74fabd1 commit a6bc118
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/H5CX.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a6bc118

Please sign in to comment.