[cig-commits] [commit] devel: Increase iterations for xi and eta to 5. (a5ea531)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Tue Nov 18 13:11:04 PST 2014


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

On branch  : devel
Link       : https://github.com/geodynamics/specfem3d_globe/compare/4f3d4b0c30908471d57c87843ce56bed28e0bf21...ee10f30b8ad6d48e5f1bd68381656e5d64e6433c

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

commit a5ea5319de32ad22919be4c2dd8cba4ce227983f
Author: Elliott Sales de Andrade <esalesde at physics.utoronto.ca>
Date:   Sat Nov 15 00:59:28 2014 -0500

    Increase iterations for xi and eta to 5.
    
    This should produce consistent results when comparing ifort, gfortran
    and xlf.


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

a5ea5319de32ad22919be4c2dd8cba4ce227983f
 setup/constants.h.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/setup/constants.h.in b/setup/constants.h.in
index e191364..7659fe5 100644
--- a/setup/constants.h.in
+++ b/setup/constants.h.in
@@ -715,8 +715,9 @@
 ! number of lines per source in CMTSOLUTION file
   integer, parameter :: NLINES_PER_CMTSOLUTION_SOURCE = 13
 
-! number of iterations to solve the non linear system for xi and eta
-  integer, parameter :: NUM_ITER = 4
+! number of iterations to solve the non linear system for xi and eta; this value
+! should be the minimum required to produce consistent results between compilers
+  integer, parameter :: NUM_ITER = 5
 
 ! number of hours per day for rotation rate of the Earth
   double precision, parameter :: HOURS_PER_DAY = 24.d0



More information about the CIG-COMMITS mailing list