[cig-commits] r21230 - seismo/3D/SPECFEM3D/trunk

dkomati1 at geodynamics.org dkomati1 at geodynamics.org
Tue Jan 15 06:57:20 PST 2013


Author: dkomati1
Date: 2013-01-15 06:57:20 -0800 (Tue, 15 Jan 2013)
New Revision: 21230

Modified:
   seismo/3D/SPECFEM3D/trunk/flags.guess
Log:
switched from 'gnu' to 'f2003' standard for GNU gfortran because Surendra's new rupture dynamics code uses the "class" keyword of Fortran2003


Modified: seismo/3D/SPECFEM3D/trunk/flags.guess
===================================================================
--- seismo/3D/SPECFEM3D/trunk/flags.guess	2013-01-15 14:56:47 UTC (rev 21229)
+++ seismo/3D/SPECFEM3D/trunk/flags.guess	2013-01-15 14:57:20 UTC (rev 21230)
@@ -64,7 +64,7 @@
         # GNU gfortran
         #
         if test x"$FLAGS_NO_CHECK" = x; then
-            FLAGS_NO_CHECK="-std=gnu -fimplicit-none -frange-check -O2 -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow" # -mcmodel=medium
+            FLAGS_NO_CHECK="-std=f2003 -fimplicit-none -frange-check -O2 -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow" # -mcmodel=medium
         fi
         if test x"$FLAGS_CHECK" = x; then
             FLAGS_CHECK="\$(FLAGS_NO_CHECK)"
@@ -72,8 +72,7 @@
         # useful for debugging... -ffpe-trap=underflow,overflow,zero -fbacktrace -fbounds-check
         #
         # older gfortran syntax
-        # note: -std=f95 can lead to problem: undefined reference to `system_'
-        #           FLAGS_NO_CHECK="-std=gnu -fimplicit-none -frange-check -O2 -Wunused-labels -Waliasing -Wampersand -Wsurprising -Wline-truncation -Wunderflow" # -mcmodel=medium -std=f95
+        #           FLAGS_NO_CHECK="-std=f2003 -fimplicit-none -frange-check -O2 -Wunused-labels -Waliasing -Wampersand -Wsurprising -Wline-truncation -Wunderflow" # -mcmodel=medium
         #fi
         #if test x"$FLAGS_CHECK" = x; then
         #    FLAGS_CHECK="\$(FLAGS_NO_CHECK)" # -fbounds-check



More information about the CIG-COMMITS mailing list