Merge pull request #4517 from akva2/fix_parallel_hdf5

fixed: wrong order of OpmInit and use of the USE_MPI option
This commit is contained in:
Markus Blatt
2023-03-08 17:39:13 +01:00
committed by GitHub

View File

@@ -91,13 +91,13 @@ endif()
find_package(opm-common REQUIRED)
include(OpmInit)
OpmSetPolicies()
if(USE_MPI)
set(HDF5_PREFER_PARALLEL TRUE)
endif()
include(OpmInit)
OpmSetPolicies()
# not the same location as most of the other projects? this hook overrides
macro (dir_hook)
endmacro (dir_hook)