Skip to content
Snippets Groups Projects
Commit 3ae001a0 authored by Mikael Djurfeldt's avatar Mikael Djurfeldt
Browse files

Fixed an error with type MPI_Message missing for older versions of MPI and

newer versions of mpi4py.
parent f629102e
No related branches found
No related tags found
No related merge requests found
#include <mpi.h>
#if (MPI_VERSION < 3) && !defined(PyMPI_HAVE_MPI_Message)
typedef void *PyMPI_MPI_Message;
#define MPI_Message PyMPI_MPI_Message
#endif
# The following include is needed to define a missing type MPI_Message
# which is lacking for a certain combination of MPI and mpi4py versions
cdef extern from "mpi_compat.h":
pass
cimport mpi4py.MPI as MPI
from mpi4py.mpi_c cimport *
......
# The following include is needed to define a missing type MPI_Message
# which is lacking for a certain combination of MPI and mpi4py versions
cdef extern from "mpi_compat.h":
pass
cimport mpi4py.MPI as MPI
from mpi4py.mpi_c cimport *
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment