Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Andrew Bauer
VTK
Commits
c2f8322a
Commit
c2f8322a
authored
May 03, 2018
by
Andrew Bauer
Browse files
Fixing issue with missing MPI_CONVERSION_FN_NULL for mpi4py
parent
d7944f7e
Pipeline
#100405
failed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ThirdParty/mpi4py/vtkmpi4py/CMakeLists.txt
View file @
c2f8322a
...
...
@@ -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
...
...
ThirdParty/mpi4py/vtkmpi4py/src/lib-mpi/config/mpi-20.h
View file @
c2f8322a
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment