The CMake build currently does not support HDF5 usage. To do so we will need to:
- Specify
-DHDF5 (add_compile_definitions(HDF5))
- Find the CMake Package:
find_package(HDF5 ...) and link specific libraries:
hdf5::hdf55
hdf5::hdf5_fortran
hdf5::hdf5_hl
hdf5::hdf5_hl_fortran
We will also need to add the DataIO_HDF5.f90 instead of the DataIO.f90 to the ModEM exe's target sources.
The CMake build currently does not support HDF5 usage. To do so we will need to:
-DHDF5(add_compile_definitions(HDF5))find_package(HDF5 ...)and link specific libraries:hdf5::hdf55hdf5::hdf5_fortranhdf5::hdf5_hlhdf5::hdf5_hl_fortranWe will also need to add the
DataIO_HDF5.f90instead of theDataIO.f90to the ModEM exe's target sources.