HDF5.mod "No such file or directory"


#1

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.


#2

Have you tried to compile the included HDF5Examples project?