Commit c2f8322a authored by Andrew Bauer's avatar Andrew Bauer
Browse files

Fixing issue with missing MPI_CONVERSION_FN_NULL for mpi4py

parent d7944f7e
Pipeline #100405 failed with stage
......@@ -50,6 +50,12 @@ if (NOT f2c_defined)
-DPyMPI_MISSING_MPI_Status_c2f)
endif()
# SGI's MPT mpi library is missing MPI_CONVERSION_FN_NULL
check_function_exists(MPI_CONVERSION_FN_NULL conversion_fn_defined)
if (NOT conversion_fn_defined)
add_definitions(-DPyMPI_MISSING_MPI_CONVERSION_FN_NULL)
endif()
# -----------------------------------------------------------------------------
# Note: In ParaView FindPythonLibs.cmake module is additionally defined in VTK
# and overides the default module from CMake. As a consequence PYTHON_ADD_MODULE
......
......@@ -290,7 +290,9 @@
#define PyMPI_HAVE_MPI_File_call_errhandler 1
#define PyMPI_HAVE_MPI_Datarep_conversion_function 1
#define PyMPI_HAVE_MPI_Datarep_extent_function 1
#ifndef PyMPI_MISSING_MPI_CONVERSION_FN_NULL
#define PyMPI_HAVE_MPI_CONVERSION_FN_NULL 1
#endif
#define PyMPI_HAVE_MPI_MAX_DATAREP_STRING 1
#define PyMPI_HAVE_MPI_Register_datarep 1
#define PyMPI_HAVE_MPI_ERR_FILE 1
......
Markdown is supported
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