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

dkomati1 at geodynamics.org dkomati1 at geodynamics.org
Tue Aug 5 06:04:53 PDT 2008


Author: dkomati1
Date: 2008-08-05 06:04:53 -0700 (Tue, 05 Aug 2008)
New Revision: 12520

Modified:
   seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess
Log:
added -ftz option for Intel ifort compiler; it is *critical* for performance


Modified: seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess
===================================================================
--- seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess	2008-08-05 13:00:52 UTC (rev 12519)
+++ seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess	2008-08-05 13:04:53 UTC (rev 12520)
@@ -26,15 +26,15 @@
         # Intel ifort Fortran90 for Linux
         #
         if test x"$FLAGS_CHECK" = x; then
-            FLAGS_CHECK="-O3 -xP -e95 -implicitnone -warn truncated_source -warn argument_checking -warn unused -warn declarations -std95 -check nobounds -align sequence -assume byterecl -ftrapuv -fpe0 -no-ftz -traceback" # -mcmodel=medium
+            FLAGS_CHECK="-O3 -diag-disable vec -xP -e95 -implicitnone -warn truncated_source -warn argument_checking -warn unused -warn declarations -std95 -check nobounds -align sequence -assume byterecl -ftrapuv -fpe0 -no-ftz -traceback" # -mcmodel=medium
         fi
         if test x"$FLAGS_NO_CHECK" = x; then
-            # standard options
-            FLAGS_NO_CHECK="-O3 -xP -e95 -implicitnone -warn truncated_source -warn argument_checking -warn unused -warn declarations -std95 -check nobounds -align sequence -assume byterecl -fpe0 -no-ftz" # -mcmodel=medium
+            # standard options (leave option -ftz, which is *critical* for performance)
+            FLAGS_NO_CHECK="-O3 -xP -diag-disable vec -e95 -implicitnone -warn truncated_source -warn argument_checking -warn unused -warn declarations -std95 -check nobounds -align sequence -assume byterecl -fpe3 -ftz" # -mcmodel=medium
             # Pangu at Caltech
-            #FLAGS_NO_CHECK = $(IFORT_PROF) -vec_report0 -O3 -static -ip -xP -Wl,--allow-multiple-definition -L $$IFORT_ROOT/lib -limf -lirc
+            #FLAGS_NO_CHECK = $(IFORT_PROF) -O3 -static -ip -xP -diag-disable vec -Wl,--allow-multiple-definition -fpe3 -ftz -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
+            #FLAGS_NO_CHECK = -O0 -static -e95 -implicitnone -warn truncated_source -warn argument_checking -warn unused -warn declarations -std95 -check all
         fi
         #MPI_LIBS = -Vaxlib
         ;;



More information about the cig-commits mailing list