Skip to content

Commit

Permalink
Merge pull request #1305 from mathstuf/msmpi-message-bit
Browse files Browse the repository at this point in the history
mpi-compat: support MPI_Message on MS-MPI
  • Loading branch information
jswhit authored Dec 30, 2023
2 parents 7ead17a + a0c6e91 commit ae15b6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* add support for complex numbers via `auto_complex` keyword to `Dataset` (PR #1295)
* fix for deprecated Cython `DEF` and `IF` statements using compatibility header
with shims for unavailable functionality (PR #1277)
* add support for MS-MPI `MPI_Message` detection (PR #1305)

version 1.6.5 (tag v1.6.5rel)
===============================
Expand Down
4 changes: 4 additions & 0 deletions include/mpi-compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

#include <mpi.h>

#ifdef MSMPI_VER
#define PyMPI_HAVE_MPI_Message 1
#endif

#if (MPI_VERSION < 3) && !defined(PyMPI_HAVE_MPI_Message)
typedef void *PyMPI_MPI_Message;
#define MPI_Message PyMPI_MPI_Message
Expand Down

0 comments on commit ae15b6d

Please sign in to comment.