fpm-registry icon indicating copy to clipboard operation
fpm-registry copied to clipboard

h5fortran

Open scivision opened this issue 4 years ago • 2 comments
trafficstars

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

scivision avatar Apr 12 '21 03:04 scivision

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!

LKedward avatar Apr 12 '21 16:04 LKedward

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.

scivision avatar May 19 '22 05:05 scivision