[cig-commits] r19639 - seismo/3D/SPECFEM3D/branches/SPECFEM3D_SUNFLOWER
dkomati1 at geodynamics.org
dkomati1 at geodynamics.org
Wed Feb 15 14:48:27 PST 2012
Author: dkomati1
Date: 2012-02-15 14:48:27 -0800 (Wed, 15 Feb 2012)
New Revision: 19639
Modified:
seismo/3D/SPECFEM3D/branches/SPECFEM3D_SUNFLOWER/flags.guess
Log:
updated flags.guess
Modified: seismo/3D/SPECFEM3D/branches/SPECFEM3D_SUNFLOWER/flags.guess
===================================================================
--- seismo/3D/SPECFEM3D/branches/SPECFEM3D_SUNFLOWER/flags.guess 2012-02-15 06:39:03 UTC (rev 19638)
+++ seismo/3D/SPECFEM3D/branches/SPECFEM3D_SUNFLOWER/flags.guess 2012-02-15 22:48:27 UTC (rev 19639)
@@ -26,19 +26,21 @@
# Intel ifort Fortran90
#
if test x"$FLAGS_CHECK" = x; then
- FLAGS_CHECK="-O3 -assume byterecl -traceback -ftrapuv -ftz"
+ FLAGS_CHECK="-O3 -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 -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 -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
- FLAGS_NO_CHECK="-O3 -assume byterecl -check nobounds -ftz"
+ # add -vec-report2 to get information about loops that are vectorized or not
+ FLAGS_NO_CHECK="-O3 -check nobounds -ftz"
fi
;;
@@ -148,16 +150,15 @@
# for the C compiler when using -q64 for the Fortran compiler
#
if test x"$FLAGS_NO_CHECK" = x; then
-# deleted -qxflag=dvz because it requires handler function __xl_dzx and thus linking will fail
- #FLAGS_NO_CHECK="-O3 -qstrict -q64 -qtune=auto -qarch=auto -qcache=auto -qfree=f90 -qsuffix=f=f90 -qhalt=w -qlanglvl=2003pure -qxlf2003=nooldnaninf -qflttrap=overflow:zerodivide:invalid:enable -qfloat=nans -qinitauto=7FBFFFFF -Q -Q+rank,swap_all"
- FLAGS_NO_CHECK="-O3 -qstrict -q64 -qtune=auto -qarch=auto -qcache=auto -qfree=f90 -qsuffix=f=f90 -qhalt=w -qlanglvl=95pure -qflttrap=overflow:zerodivide:invalid:enable -qfloat=nans -qinitauto=7FBFFFFF -Q -Q+rank,swap_all"
- #
- # to debug with IBM xlf, add this: -g -O0 -C -qddim -qfullpath
- #
+# deleted -qxflag=dvz because it requires handler function __xl_dzx and thus linking will fail
+ FLAGS_NO_CHECK="-O3 -qstrict -q64 -qtune=auto -qarch=auto -qcache=auto -qfree=f90 -qsuffix=f=f90 -qhalt=w -qlanglvl=90pure -qsuppress=1518-317 -qflttrap=overflow:zerodivide:invalid:enable -qfloat=nans -qinitauto=7FBFFFFF -Q -Q+rank,swap_all -Wl,-relax -qunroll=yes"
# on MareNostrum at the Barcelona SuperComputing Center (Spain) one can use
# -qtune=ppc970 -qarch=ppc64v -qsave instead of -qtune=auto -qarch=auto
fi
if test x"$FLAGS_CHECK" = x; then
+ #
+ # to debug with IBM xlf, one can add this: -g -O0 -C -qddim -qfullpath
+ #
FLAGS_CHECK="\$(FLAGS_NO_CHECK) -g -C -qddim -qfullpath"
fi
;;
More information about the CIG-COMMITS
mailing list