[cig-commits] [commit] devel: put the "make clean ; make all" step back in all the run_this_example.sh scripts because in the case of SPECFEM3D_GLOBE the solver is compiled with static array and loop sizes that depend on the mesh under study (b6ec874)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Mon Dec 8 16:14:22 PST 2014


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

On branch  : devel
Link       : https://github.com/geodynamics/specfem3d_globe/compare/0d505ae9902d4a7aabe1d961086675f7aad9162d...b6ec874792cf8cdb3329e29d844a71c3a8ce8202

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

commit b6ec874792cf8cdb3329e29d844a71c3a8ce8202
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date:   Tue Dec 9 01:09:32 2014 +0100

    put the "make clean ; make all" step back in all the run_this_example.sh scripts because in the case of SPECFEM3D_GLOBE the solver is compiled with static array and loop sizes that depend on the mesh under study


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

b6ec874792cf8cdb3329e29d844a71c3a8ce8202
 EXAMPLES/global_PREM_kernels/amplitude/run_this_example.sh  | 2 ++
 EXAMPLES/global_PREM_kernels/traveltime/run_this_example.sh | 2 ++
 EXAMPLES/global_s362ani_shakemovie/run_this_example.sh      | 2 ++
 EXAMPLES/regional_Greece_noise_small/run_this_example.sh    | 2 ++
 EXAMPLES/regional_Greece_small/run_this_example.sh          | 2 ++
 EXAMPLES/regional_MiddleEast/run_this_example.sh            | 2 ++
 6 files changed, 12 insertions(+)

diff --git a/EXAMPLES/global_PREM_kernels/amplitude/run_this_example.sh b/EXAMPLES/global_PREM_kernels/amplitude/run_this_example.sh
index 8dd1277..f7fd456 100755
--- a/EXAMPLES/global_PREM_kernels/amplitude/run_this_example.sh
+++ b/EXAMPLES/global_PREM_kernels/amplitude/run_this_example.sh
@@ -35,6 +35,8 @@ cd ../../
 
 # compiles for a forward simulation
 cp $currentdir/DATA/Par_file DATA/Par_file
+make clean
+make all
 
 # backup of constants setup
 cp setup/* $currentdir/OUTPUT_FILES/
diff --git a/EXAMPLES/global_PREM_kernels/traveltime/run_this_example.sh b/EXAMPLES/global_PREM_kernels/traveltime/run_this_example.sh
index 8dd1277..f7fd456 100755
--- a/EXAMPLES/global_PREM_kernels/traveltime/run_this_example.sh
+++ b/EXAMPLES/global_PREM_kernels/traveltime/run_this_example.sh
@@ -35,6 +35,8 @@ cd ../../
 
 # compiles for a forward simulation
 cp $currentdir/DATA/Par_file DATA/Par_file
+make clean
+make all
 
 # backup of constants setup
 cp setup/* $currentdir/OUTPUT_FILES/
diff --git a/EXAMPLES/global_s362ani_shakemovie/run_this_example.sh b/EXAMPLES/global_s362ani_shakemovie/run_this_example.sh
index 777e184..a36c60e 100755
--- a/EXAMPLES/global_s362ani_shakemovie/run_this_example.sh
+++ b/EXAMPLES/global_s362ani_shakemovie/run_this_example.sh
@@ -38,6 +38,8 @@ rm -rf OUTPUT_FILES/*
 cd $rootdir
 # compiles for a forward simulation
 cp $currentdir/DATA/Par_file DATA/Par_file
+make clean
+make all
 
 # backup of constants setup
 cp setup/* $currentdir/OUTPUT_FILES/
diff --git a/EXAMPLES/regional_Greece_noise_small/run_this_example.sh b/EXAMPLES/regional_Greece_noise_small/run_this_example.sh
index b40dd47..90fbe59 100755
--- a/EXAMPLES/regional_Greece_noise_small/run_this_example.sh
+++ b/EXAMPLES/regional_Greece_noise_small/run_this_example.sh
@@ -35,6 +35,8 @@ cd ../../
 
 # compiles for a forward simulation
 cp $currentdir/DATA/Par_file DATA/Par_file
+make clean
+make all
 
 # backup of constants setup
 cp setup/* $currentdir/OUTPUT_FILES/
diff --git a/EXAMPLES/regional_Greece_small/run_this_example.sh b/EXAMPLES/regional_Greece_small/run_this_example.sh
index bf1364f..47ec5ee 100755
--- a/EXAMPLES/regional_Greece_small/run_this_example.sh
+++ b/EXAMPLES/regional_Greece_small/run_this_example.sh
@@ -34,6 +34,8 @@ cd ../../
 
 # compiles for a forward simulation
 cp $currentdir/DATA/Par_file DATA/Par_file
+make clean
+make all
 
 # backup of constants setup
 cp setup/* $currentdir/OUTPUT_FILES/
diff --git a/EXAMPLES/regional_MiddleEast/run_this_example.sh b/EXAMPLES/regional_MiddleEast/run_this_example.sh
index c86e1fd..f42714b 100755
--- a/EXAMPLES/regional_MiddleEast/run_this_example.sh
+++ b/EXAMPLES/regional_MiddleEast/run_this_example.sh
@@ -35,6 +35,8 @@ cd ../../
 
 # compiles for a forward simulation
 cp $currentdir/DATA/Par_file DATA/Par_file
+make clean
+make all
 
 # backup of constants setup
 cp setup/* $currentdir/OUTPUT_FILES/



More information about the CIG-COMMITS mailing list