[cig-commits] [commit] devel: more complete gfortran options (be02546)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Jun 4 13:00:11 PDT 2014
Repository : https://github.com/geodynamics/specfem3d_globe
On branch : devel
Link : https://github.com/geodynamics/specfem3d_globe/compare/754300e5a26e2a5d17069e661645fe819a7857a1...cd83b686a7c6014e132933f685157d43151a665e
>---------------------------------------------------------------
commit be02546b28279eda96388af46c27409acc6123b9
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date: Wed May 21 18:34:48 2014 +0200
more complete gfortran options
>---------------------------------------------------------------
be02546b28279eda96388af46c27409acc6123b9
flags.guess | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/flags.guess b/flags.guess
index c0afe83..68f9f53 100644
--- a/flags.guess
+++ b/flags.guess
@@ -93,8 +93,9 @@ case $my_FC in
#
# GNU gfortran
#
- DEF_FFLAGS="-std=gnu -fimplicit-none -frange-check -O2 -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow " # -mcmodel=medium
- # useful for debugging: add -ffpe-trap=overflow,zero -fbacktrace -fbounds-check
+ DEF_FFLAGS="-std=gnu -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" # -mcmodel=medium
+ # 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