Using a trained neural network model in a fortran code

Hey,

so I have tried to run the following command compiling with cmake :

gfortran simple.f90 -o simple -Ipath/to/include -Lpath/to/lib -lneural -lfunctional -lh5fortran -ljsonfortran

then I ran this command compiling with fpm :

gfortran simple.f90 -o simple -Ipath/to/include -Lpath/to/lib -lneural-fortran

I don’t have any errors anymore, comming from jsonfortran and functional, but I still get errors from h5fortran.

When I compile with cmake, no .mod is generated in the include for h5fortran.

To sum up all of my remaining issues seem to come from the h5fortran library. What could I do to solve this issue? Could it be due to the gfortran version I am using? (gfortran 11.3.0 > gfortran 9.4.0 tested according to the github)