I am using gcc 4.9.2 and trying to use gfortran in order to read and write hdf5 binary files. I am getting the following error:
USE HDF5
1
Fatal Error: File 'hdf5.mod' opened at (1) is not a GNU Fortran module file
I tried removing and reinstalling gfortran but no change. Any suggestion would be appreciated.
hdf5.modis a Fortran module? It's simply a binary file format. The.modextension doesn't make it a Fortran module, any more than giving a.txtfile a.jpgextension makes it an image file.