------- Comment #7 from pault at gcc dot gnu dot org 2008-11-19 16:21 ------- (In reply to comment #6) > I don't know if the code in comment #0 is valid or not, but if the file > h5global.mod does not exist compiling it with gfortran r141995 gives: > > pr38171.f90:2.14: > > USE H5GLOBAL > 1 > Fatal Error: Can't open module file 'h5global.mod' for reading at (1): No such > file or directory >
Yes, the reporter had obviously already compiled the code so that the module was present:-) It is correct when it's the right way round and it's pukka fortran. Paul > This error disappears if the module order is changed. > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38171