[cig-commits] [commit] devel: more complete gfortran options (1e40049)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed May 21 09:36:18 PDT 2014


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

On branch  : devel
Link       : https://github.com/geodynamics/specfem3d/compare/f1cc12442584702e82241113e4a533e995c802e5...f3d4ff70a55162b05131be42413daacb9dc89b93

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

commit 1e400499cdf4a33ba4e8b109063e2fd9d3436abe
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date:   Wed May 21 18:34:02 2014 +0200

    more complete gfortran options


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

1e400499cdf4a33ba4e8b109063e2fd9d3436abe
 flags.guess | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/flags.guess b/flags.guess
index 7b547a6..b41ec6a 100644
--- a/flags.guess
+++ b/flags.guess
@@ -80,7 +80,8 @@ case $my_FC in
         # GNU gfortran
         #
         DEF_FFLAGS="-std=f2003 -fimplicit-none -frange-check -O2 -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow -ffpe-trap=invalid,zero,overflow"
-        # for debugging, add -ggdb -fbacktrace -fbounds-check -ffpe-trap=overflow,zero
+        # useful for debugging: add   -ggdb -fbacktrace -fbounds-check
+        # useful to track loss of accuracy because of automatic double to single precision conversion:  -Wconversion  (this may generate many warnings...)
         ;;
     g95|*/g95)
         #



More information about the CIG-COMMITS mailing list