HDF5.mod "No such file or directory"

Using hdf5 1.12.2, installed via CMake tar file using the terminal on Mac OS. Attempting to use gmake to generate a program for atmospheric research, but upon using the command, it throws the error “Cannot open module file hdf5.mod for reading at (1): No such file or directory exists”. I tried uninstalling and reinstalling my hdf5 (including redownloading it) as well as uninstalling and redownloading gcc/gfortran. I know I’m missing something to get gcc/gfortran and hdf5 to talk to each other (or even just getting the .mod file), but I’m relatively new to this in general and haven’t been able to find someone who had similar issues.

Have you tried to compile the included HDF5Examples project?

I think the issue is in fortran/src/CMakeLists.txt, where h5se.mod is missing from the module list variables mod_files and modsh_files variables

Cheers

There is not a h5se module

Do you mean h5es module?

Do you mean h5es module?

yes, sorry