It appears that v4.4 does not call the cpp when passed -xf77-cpp-input as opposed to v4.3. Or, perhaps, a switch was modified or the preprocessing is done differently? Important snippet of code: #if defined(sparc) || defined(linux) || defined(__APPLE__) || defined(i386) open(lun,file=filnm,status='old',access='direct',err=990, * recl=128,form='unformatted',convert='big_endian') #else open(lun,file=filnm,status='old',access='direct',err=990, * recl=32,readonly) #endif >From v4.3: gfortran -DLITTLE_ENDIAN -g -O2 -v -xf77-cpp-input -ffixed-line-length-0 -c -o get_elements.o ../../../../seawifs/src/libswfnav/get_elements.f Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.3.2/configure --prefix=/sw/local --with-gmp=/sw/local --with-mpfr=/sw/local Thread model: posix gcc version 4.3.2 (GCC) COLLECT_GCC_OPTIONS='-DLITTLE_ENDIAN' '-g' '-O2' '-v' '-ffixed-line-length-0' '-c' '-o' 'get_elements.o' '-mtune=generic' /stage/apps/Linux-x86_64/local/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.3.2/cc1 -E -lang-fortran -traditional-cpp -D_LANGUAGE_FORTRAN -quiet -v -iprefix /stage/apps/Linux-x86_64/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.2/ -DLITTLE_ENDIAN ../../../../seawifs/src/libswfnav/get_elements.f -mtune=generic -ffixed-line-length-0 -fworking-directory -O2 -o /tmp/ccg9QeUi.f ignoring nonexistent directory "/stage/apps/Linux-x86_64/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../x86_64-unknown-linux-gnu/include" ignoring duplicate directory "/stage/apps/Linux-x86_64/local/bin/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.3.2/include" ignoring duplicate directory "/stage/apps/Linux-x86_64/local/bin/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.3.2/include-fixed" ignoring nonexistent directory "/stage/apps/Linux-x86_64/local/bin/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../x86_64-unknown-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /stage/apps/Linux-x86_64/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.2/include /stage/apps/Linux-x86_64/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.2/include-fixed /usr/local/include /stage/apps/Linux-x86_64/local/bin/../lib/gcc/../../include /usr/include End of search list. COLLECT_GCC_OPTIONS='-DLITTLE_ENDIAN' '-g' '-O2' '-v' '-ffixed-line-length-0' '-c' '-o' 'get_elements.o' '-mtune=generic' /stage/apps/Linux-x86_64/local/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.3.2/f951 /tmp/ccg9QeUi.f -ffixed-form -quiet -dumpbase get_elements.f -mtune=generic -auxbase-strip get_elements.o -g -O2 -version -ffixed-line-length-0 -fpreprocessed -fintrinsic-modules-path /stage/apps/Linux-x86_64/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.2/finclude -o /tmp/ccQFXdbq.s GNU F95 (GCC) version 4.3.2 (x86_64-unknown-linux-gnu) compiled by GNU C version 4.3.2, GMP version 4.2.1, MPFR version 2.3.0. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 COLLECT_GCC_OPTIONS='-DLITTLE_ENDIAN' '-g' '-O2' '-v' '-ffixed-line-length-0' '-c' '-o' 'get_elements.o' '-mtune=generic' as -V -Qy -o get_elements.o /tmp/ccQFXdbq.s GNU assembler version 2.17.50.0.6-12.el5 (x86_64-redhat-linux) using BFD version 2.17.50.0.6-12.el5 20061020 COMPILER_PATH=/stage/apps/Linux-x86_64/local/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.3.2/:/stage/apps/Linux-x86_64/local/bin/../libexec/gcc/ LIBRARY_PATH=/stage/apps/Linux-x86_64/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.2/:/stage/apps/Linux-x86_64/local/bin/../lib/gcc/:/stage/apps/Linux-x86_64/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/stage/apps/Linux-x86_64/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-DLITTLE_ENDIAN' '-g' '-O2' '-v' '-ffixed-line-length-0' '-c' '-o' 'get_elements.o' '-mtune=generic' >From v4.4: gfortran -DLITTLE_ENDIAN -g -O2 -v -xf77-cpp-input -ffixed-line-length-0 -c -o get_elements.o ../../../../seawifs/src/libswfnav/get_elements.f Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../configure --prefix=/sw/aps/local/ --enable-languages=c,objc,fortran --enable-static --disable-shared --with-gmp=/sw/aps/local --with-mpfr=/sw/aps Thread model: posix gcc version 4.4.3 (GCC) COLLECT_GCC_OPTIONS='-DLITTLE_ENDIAN' '-g' '-O2' '-v' '-ffixed-line-length-0' '-c' '-o' 'get_elements.o' '-mtune=generic' /stage/apps/Linux-x86_64/aps/local/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.4.3/f951 ../../../../seawifs/src/libswfnav/get_elements.f -ffixed-form -cpp /tmp/cckPcxsb.f90 -quiet -v -iprefix /stage/apps/Linux-x86_64/aps/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.4.3/ -DLITTLE_ENDIAN ../../../../seawifs/src/libswfnav/get_elements.f -quiet -dumpbase get_elements.f -mtune=generic -auxbase-strip get_elements.o -g -O2 -version -ffixed-line-length-0 -fintrinsic-modules-path /stage/apps/Linux-x86_64/aps/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.4.3/finclude -o /tmp/ccsvo4Dh.s ignoring nonexistent directory "/stage/apps/Linux-x86_64/aps/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.4.3/../../../../x86_64-unknown-linux-gnu/include" ignoring duplicate directory "/stage/apps/Linux-x86_64/aps/local/bin/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.4.3/include" ignoring duplicate directory "/stage/apps/Linux-x86_64/aps/local/bin/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.4.3/include-fixed" ignoring nonexistent directory "/stage/apps/Linux-x86_64/aps/local/bin/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.4.3/../../../../x86_64-unknown-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /stage/apps/Linux-x86_64/aps/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.4.3/finclude /stage/apps/Linux-x86_64/aps/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.4.3/include /stage/apps/Linux-x86_64/aps/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.4.3/include-fixed /usr/local/include /stage/apps/Linux-x86_64/aps/local/bin/../lib/gcc/../../include /usr/include End of search list. GNU Fortran (GCC) version 4.4.3 (x86_64-unknown-linux-gnu) compiled by GNU C version 4.4.3, GMP version 4.3.1, MPFR version 2.4.1. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ../../../../seawifs/src/libswfnav/get_elements.f:80.16: * recl=32,readonly) 1 Error: Syntax error in OPEN statement at (1) make: *** [get_elements.o] Error 1 -- +++++++++++++++++++++++++++++++++++ “The one who created you without your cooperation will not save you without your cooperation.” -- St. Augustine Paul Martinolich Golden Autumn Day Photography http://www.gadphoto.com http://goldenautumnday.blogspot.com