[cig-commits] r12454 - seismo/3D/SPECFEM3D_GLOBE/trunk

dkomati1 at geodynamics.org dkomati1 at geodynamics.org
Mon Jul 21 06:38:33 PDT 2008


Author: dkomati1
Date: 2008-07-21 06:38:33 -0700 (Mon, 21 Jul 2008)
New Revision: 12454

Modified:
   seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess
Log:
changed O2 to O3 in compiler options


Modified: seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess
===================================================================
--- seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess	2008-07-21 13:36:18 UTC (rev 12453)
+++ seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess	2008-07-21 13:38:33 UTC (rev 12454)
@@ -32,7 +32,7 @@
             # standard options
             FLAGS_NO_CHECK="-O3 -e95 -implicitnone -warn truncated_source -warn argument_checking -warn unused -warn declarations -std95 -check nobounds -align sequence -assume byterecl -i-dynamic -fpe0 -no-ftz" # -mcmodel=medium
             # Pangu at Caltech
-            #FLAGS_NO_CHECK = $(IFORT_PROF) -vec_report0 -O2 -static -ip -xP -Wl,--allow-multiple-definition -L $$IFORT_ROOT/lib -limf -lirc
+            #FLAGS_NO_CHECK = $(IFORT_PROF) -vec_report0 -O3 -static -ip -xP -Wl,--allow-multiple-definition -L $$IFORT_ROOT/lib -limf -lirc
             # debug with range checking
             #FLAGS_NO_CHECK = -O0 -static -e95 -implicitnone -warn truncated_source -warn argument_checking -warn unused -warn declarations -std95 -check bounds
         fi
@@ -43,7 +43,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 -fno-trapping-math" # -mcmodel=medium
+            FLAGS_NO_CHECK="-std=gnu -fimplicit-none -frange-check -O3 -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow -fno-trapping-math" # -mcmodel=medium
 # older gfortran syntax
 #           FLAGS_NO_CHECK="-std=gnu -fimplicit-none -frange-check -O3 -Wunused-labels -Waliasing -Wampersand -Wsurprising -Wline-truncation -Wunderflow -fno-trapping-math" # -mcmodel=medium
         fi
@@ -70,7 +70,7 @@
                 # AbSoft
                 #
                 if test x"$FLAGS_CHECK" = x; then
-                    FLAGS_CHECK="-s -O2 -cpu:p7 -v -YDEALLOC=ALL"
+                    FLAGS_CHECK="-s -O3 -cpu:p7 -v -YDEALLOC=ALL"
                 fi
                 if test x"$FLAGS_NO_CHECK" = x; then
                     FLAGS_NO_CHECK="\$(FLAGS_CHECK)"
@@ -146,12 +146,12 @@
         # on IBM with xlf one should also set
         #
         # CC = xlc_r
-        # CFLAGS = -O2 -q64
+        # CFLAGS = -O3 -q64
         #
         # or
         #
         # CC = gcc
-        # CFLAGS = -O2 -m64
+        # CFLAGS = -O3 -m64
         #
         # for the C compiler when using -q64 for the Fortran compiler
         #



More information about the cig-commits mailing list