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

dkomati1 at geodynamics.org dkomati1 at geodynamics.org
Sat Dec 10 04:46:25 PST 2011


Author: dkomati1
Date: 2011-12-10 04:46:25 -0800 (Sat, 10 Dec 2011)
New Revision: 19291

Modified:
   seismo/3D/SPECFEM3D/trunk/flags.guess
Log:
removed flag -fpe0 for Intel ifort because it can prevent vectorization in some cases


Modified: seismo/3D/SPECFEM3D/trunk/flags.guess
===================================================================
--- seismo/3D/SPECFEM3D/trunk/flags.guess	2011-12-10 12:45:58 UTC (rev 19290)
+++ seismo/3D/SPECFEM3D/trunk/flags.guess	2011-12-10 12:46:25 UTC (rev 19291)
@@ -28,16 +28,18 @@
         if test x"$FLAGS_CHECK" = x; then
             FLAGS_CHECK="-O3 -assume byterecl -traceback -ftrapuv -ftz"
             
-            # for debugging: change -check nobounds to -check all and add -debug -g -O0 -fp-stack-check -traceback -ftrapuv
+        # useful for debugging...
+            # for debugging: change -check nobounds to -check all -debug -g -O0 -fp-stack-check -traceback -ftrapuv
 
             # ifort version 11 or 10.1 with these flags shows good performance
-            #FLAGS_CHECK="-O3 -ftz -xS -fpe0 -traceback -ftrapuv -vec-report0 -std95 -implicitnone -check nobounds -assume byterecl -static-intel -warn truncated_source -warn argument_checking -warn unused -warn declarations -warn alignments -warn ignore_loc -warn usage "
-            #FLAGS_CHECK="-O3 -xS -static-intel -r8 -mcmodel=large -implicitnone -warn truncated_source -warn argument_checking -warn unused -warn declarations -check nobounds -align sequence -assume byterecl -ftrapuv -fpe0 -ftz -traceback"
+            # -xSSE4.2 -ftz -funroll-loops -unroll5
+            #FLAGS_CHECK="-O3 -ftz -xS -traceback -ftrapuv -vec-report0 -std95 -implicitnone -check nobounds -assume byterecl -static-intel -warn truncated_source -warn argument_checking -warn unused -warn declarations -warn alignments -warn ignore_loc -warn usage "
+            #FLAGS_CHECK="-O3 -xS -static-intel -r8 -mcmodel=large -implicitnone -warn truncated_source -warn argument_checking -warn unused -warn declarations -check nobounds -align sequence -assume byterecl -ftrapuv -ftz -traceback"
         fi
         if test x"$FLAGS_NO_CHECK" = x; then
         # standard options (leave option -ftz, which is *critical* for performance)
         # add -Winline to get information about routines that are inlined
-        # add -vec-report3 to get information about loops that are vectorized or not
+        # add -vec-report2 to get information about loops that are vectorized or not
             FLAGS_NO_CHECK="-O3 -assume byterecl -check nobounds -ftz"
 
         fi



More information about the CIG-COMMITS mailing list