Using a trained neural network model in a fortran code

Hey everyone,

short update on the topic, so neural-fortran works really well for me. But now I am trying to use it on a supercalculator that has a newer version of HDF5 (hdf5/1.14.1-2/oneapi-2023.1.0-mpi-cxx-fortran). I don’t manage to compile neural fortran due to the error :

cnn_from_keras                         failed.
[ 11%] Compiling...
ld: cannot find -lhdf5hl_fortran

when I look at the libraries of HDF5, we have a libhdf5_hl_fortran.a, suggesting we would need to replace the -lhdf5hl_fortran by -lhdf5_hl_fortran in the compilation line of fpm. Yet I do not know how to change that in fpm. Would anyone have an idea?

Thank you very much in advance!