Commit cb86dcf3 authored by Daniel Wortmann's avatar Daniel Wortmann

Fixed detection and use of parallel MPI

parent bf14c31a
......@@ -67,7 +67,7 @@ if (DEFINED CLI_FLEUR_USE_HDF5})
endif()
if (FLEUR_USE_HDF5)
message("Parallel HDF5 Library found:${FLEUR_USE_HDF5}")
message("Parallel HDF5 Library found:${FLEUR_USE_HDF5MPI}")
set(FLEUR_DEFINITIONS ${FLEUR_DEFINITIONS} "CPP_HDF")
set(FLEUR_MPI_DEFINITIONS ${FLEUR_MPI_DEFINITIONS} "CPP_HDF")
if (FLEUR_USE_HDF5MPI)
......
......@@ -77,7 +77,7 @@ CONTAINS
INTEGER(HSIZE_T):: dims(7)
TYPE(t_data_HDF),POINTER::d
!Set creation and access properties
#ifdef CPP_MPI
#ifdef CPP_HDFMPI
INCLUDE 'mpif.h'
IF (readonly) THEN
access_prp=H5P_DEFAULT_f
......
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