[cig-commits] [commit] devel: switched to option -qstrict for the IBM xlf compiler (7877ed9)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Mon Nov 17 02:25:52 PST 2014


Repository : https://github.com/geodynamics/specfem2d

On branch  : devel
Link       : https://github.com/geodynamics/specfem2d/compare/5b05cb36013da70e8857057dd7eaa36fcea6260b...7877ed9ccef0ab8af038662f5205552adf2b74e6

>---------------------------------------------------------------

commit 7877ed9ccef0ab8af038662f5205552adf2b74e6
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date:   Mon Nov 17 10:41:26 2014 +0100

    switched to option -qstrict for the IBM xlf compiler


>---------------------------------------------------------------

7877ed9ccef0ab8af038662f5205552adf2b74e6
 flags.guess | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/flags.guess b/flags.guess
index d8b3723..1fbce8c 100644
--- a/flags.guess
+++ b/flags.guess
@@ -144,9 +144,13 @@ case $FC in
         # one should also use additional flags:
         # CFLAGS = -Wl,-relax
         #
+        # The -qstrict option prevents some minor differences of results between xlf and
+        # other compilers. There is a small decrease in performance, but generally
+        # it is small or negligible compared to other issues like slow I/O.
+        #
         if test x"$DEF_FFLAGS" = x; then
 # deleted -qxflag=dvz because it requires handler function __xl_dzx and thus linking will fail 
-            DEF_FFLAGS="-O4 -qnostrict -qsimd=auto -qassert=contig -qhot -q64 -qtune=auto -qarch=auto -qcache=auto -qfree=f90 -qsuffix=f=f90 -qhalt=w -qlanglvl=2003std -g -qsuppress=1518-234 -qsuppress=1518-317 -qsuppress=1518-318 -qsuppress=1500-036 -Q -Q+rank,swap_all -Wl,-relax"
+            DEF_FFLAGS="-O4 -qstrict -qsimd=auto -qassert=contig -qhot -q64 -qtune=auto -qarch=auto -qcache=auto -qfree=f90 -qsuffix=f=f90 -qhalt=w -qlanglvl=2003std -g -qsuppress=1518-234 -qsuppress=1518-317 -qsuppress=1518-318 -qsuppress=1500-036 -Q -Q+rank,swap_all -Wl,-relax"
         # Options -qreport -qsource -qlist create a *.lst file containing detailed information about vectorization.
         # On IBM BlueGene at IDRIS (France) use:
         # -qtune=auto -qarch=450d -qsave     instead of -qtune=auto -qarch=auto



More information about the CIG-COMMITS mailing list