fpm-registry
fpm-registry copied to clipboard
h5fortran
It appears that fpm 0.2 supports submodule, so h5fortran should work. However I'm not sure how to link HDF5. Upon fpm build I get
Unable to find source for module dependency: "h5lt" used by ".\src\attributes.f90"
h5lt is a module within HDF5 Fortran package. So maybe my fpm.toml needs improvement
Hi Michael @scivision, fpm does not yet allow using system-installed modules which is why you are encountering this error. I've now submitted a PR to address this (https://github.com/fortran-lang/fpm/pull/438) following other similar requests. Hopefully fpm v0.3.0 will be able to support h5fortran!
I'm not sure what the CI failure here means. I have a CI workflow that passes with my h5fortran fpm.toml using fpm 0.5.0.