Commit d4babe18 authored by Andrew J. Burns (Cont's avatar Andrew J. Burns (Cont

added FindMPI4Py link

parent caf2954c
......@@ -81,6 +81,12 @@ if(XDMF_WRAP_PYTHON)
find_package(PythonInterp REQUIRED)
find_package(PythonLibs REQUIRED)
if (XDMF_BUILD_DSM)
find_package (MPI4PY REQUIRED)
if (MPI4PY_FOUND)
if ("${PYTHON_INCLUDE_MPI4PY_DIR}" STREQUAL "")
set(PYTHON_INCLUDE_MPI4PY_DIR ${MPI4PY_INCLUDE_DIR})
endif ()
endif ()
include_directories(${PYTHON_INCLUDE_DIRS} ${MPI_CXX_INCLUDE_PATH} ${PYTHON_INCLUDE_MPI4PY_DIR})
else (XDMF_BUILD_DSM)
include_directories(${PYTHON_INCLUDE_DIRS})
......
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