FYI - HDF5 is a metapackage and will appear starting fpm 0.11.0, but it is in the trunk repository on GitHub already:
name = "my_science_app"
dependencies.hdf5 = "*"
HDF5 is supported for Fortran, C and C++ languages. The
pkg-configbackend is employed byfpmto find a valid local HDF5 installation, so, please insure thatpkg-configis also available when using this metapackage.Both the default and the high-level (
HL) interfaces are linked against if available.
- On Ubuntu, special steps are taken to ensure
HLare added.- On Ubuntu with oneAPI compilers,
CMakeHDF5 installations are supported (aptversions only supportgfortran).Note: Codes using HDF5 built with
oneAPIcompilers should not have the-standard-semanticsflag: it changes module name mangling from_mp_to_MP_which makes HDF5 modules unavailable.