Skip to content

Commit

Permalink
Merge pull request #17 from avalentino/bugfix/mpi4-compat
Browse files Browse the repository at this point in the history
Compatibility with MPI4
  • Loading branch information
prabhuramachandran authored Dec 13, 2024
2 parents aa537ad + c0ef836 commit 29f1e85
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyzoltan/czoltan/mpi-compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,9 @@ typedef void *PyMPI_MPI_Message;
#define MPI_Message PyMPI_MPI_Message
#endif

#if (MPI_VERSION < 4) && !defined(PyMPI_HAVE_MPI_Session)
typedef void *PyMPI_MPI_Session;
#define MPI_Session PyMPI_MPI_Session
#endif

#endif/*MPI_COMPAT_H*/

0 comments on commit 29f1e85

Please sign in to comment.