------- Comment #6 from burnus at gcc dot gnu dot org 2007-07-12 11:22 ------- Some information you left out: The gfortran version and the platform; both are shown with "gfortran -v".
Besides you need to compile in the order of dependence: gfortran -c parametri.f95 thom_mod.f95 spline.f95 interpfxlv.f95 If you compile parametri.f95, gfortran creates a .mod file which contains the interface of the module "parametri". If you compile "thom_mod.f95" first, this information is not available and therefore the error Fatal Error: Can't open module file 'parametri.mod' for reading at (1): No such file or directory is shown. (Similarly for the other files.) The following is indeed a bug in gfortran: gfortran: Internal error: Aborted (program f951) but I believe it was fixed at some point. (I don't get this error with 4.3, 4.2.1 nor 4.1.3.) Thus: What is the exact version (number + date) and platform of your gfortran (both is shown by "gfortran -v"). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32737