This problem occurs after creating a module file with one compilation, and then trying to use that module file in a second compilation, as shown below:
# gfortran -I/usr/local/openmpi-1.1.2-gcc/include -c -Wall -Jmod -I. -Imod -g Source/Constants.f90 -o obj/Constants.o # gfortran -I/usr/local/openmpi-1.1.2-gcc/include -c -Wall -Jmod -I. -Imod -g Source/Timer.f90 -o obj/Timer.o Fatal Error: Reading module constants at line 3 column 2: Bad name All Timer.f90 needs to cause the problem is a "USE CONSTANTS" line. I'm running gfortran 4.1.0 on RHEL4. Thanks, Dennis -- Summary: Fatal Error: Reading module: Bad name Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dmcr at Princeton dot EDU http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30206