Skip to content

Commit

Permalink
Merge pull request #81 from JCGoran/fix_mpi4py
Browse files Browse the repository at this point in the history
Add fix for mpi4py version 4
  • Loading branch information
mdjurfeldt authored Nov 19, 2024
2 parents abb0304 + e5bf00b commit 13f3123
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pymusic/mpi_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@
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

0 comments on commit 13f3123

Please sign in to comment.