[cig-commits] [commit] devel, master: left a comment about the fact that it is crucial to leave "moho = 0" to avoid the s362ani + attenuation bug (f6f55ce)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Nov 6 08:19:02 PST 2014


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

On branches: devel,master
Link       : https://github.com/geodynamics/specfem3d_globe/compare/bc58e579b3b0838a0968725a076f5904845437ca...be63f20cbb6f462104e949894dbe205d2398cd7f

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

commit f6f55ce4d11e9e109bce958e5bcf33f48eb03721
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date:   Tue May 27 02:20:01 2014 +0200

    left a comment about the fact that it is crucial to leave "moho = 0" to avoid the s362ani + attenuation bug


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

f6f55ce4d11e9e109bce958e5bcf33f48eb03721
 src/meshfem3D/get_model.f90                        | 4 +++-
 utils/Roland_Sylvain_gravity/script_MPI_128.sh     | 6 +-----
 utils/Roland_Sylvain_gravity/submit_all_MPI_128.sh | 2 +-
 3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/src/meshfem3D/get_model.f90 b/src/meshfem3D/get_model.f90
index 5d8e8aa..fc75e46 100644
--- a/src/meshfem3D/get_model.f90
+++ b/src/meshfem3D/get_model.f90
@@ -82,7 +82,9 @@
   double precision :: r,r_prem,moho
   integer :: i,j,k,i_sls
 
-  moho=0.0
+  ! it is *CRUCIAL* to leave this initialization here, this was the cause of the "s362ani + attenuation" bug in 2013 and 2014
+  ! thus please never remove the line below
+  moho = 0.d0
 
   ! loops over all GLL points for this spectral element
   do k=1,NGLLZ
diff --git a/utils/Roland_Sylvain_gravity/script_MPI_128.sh b/utils/Roland_Sylvain_gravity/script_MPI_128.sh
index 8be03dc..be07228 100755
--- a/utils/Roland_Sylvain_gravity/script_MPI_128.sh
+++ b/utils/Roland_Sylvain_gravity/script_MPI_128.sh
@@ -12,7 +12,7 @@
 ##################MSUB -A gen7165
 #MSUB -A gen6351
 #MSUB -r SPECFEM128          # Nom du job                
-#MSUB -T 86400                # Limite de temps elapsed du job en secondes
+#MSUB -T 28800               # Limite de temps elapsed du job en secondes
 #BSUB -x              # mode exclusif
 #MSUB -o output_night_%I.o          # Sortie standard et %I est le job_ID
 #MSUB -e output_night_%I.e          # Sortie d'erreur et %I est le job_ID
@@ -24,10 +24,6 @@ set -x
 # ${BRIDGE_MSUB_PWD} est une variable d'environnement representant le repertoire de soumission
 cd ${BRIDGE_MSUB_PWD}
 
-#export CUDA_PROFILE=1
-#export CUDA_PROFILE_LOG=dimitri_CUDA_profile.log
-#export CUDA_PROFILE_CONFIG=dimitri_CUDA_profile_config.txt
-
 ##########################
 
 ccc_mprun ./bin/xmeshfem3D
diff --git a/utils/Roland_Sylvain_gravity/submit_all_MPI_128.sh b/utils/Roland_Sylvain_gravity/submit_all_MPI_128.sh
index d63c3c7..c2213c1 100755
--- a/utils/Roland_Sylvain_gravity/submit_all_MPI_128.sh
+++ b/utils/Roland_Sylvain_gravity/submit_all_MPI_128.sh
@@ -15,6 +15,6 @@ fi
 
 ulimit -S -s unlimited
 
-#ccc_msub -p genb002 -q gpu script_MPI_030.sh
+#ccc_msub -p genb002 -q gpu script_MPI_128.sh
 ccc_msub -q standard script_MPI_128.sh
 



More information about the CIG-COMMITS mailing list