mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-28 16:14:25 -06:00
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:
commit
af9e446454
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user