[cig-commits] [commit] devel, master: updated all the process.sh to take the new STATIONS and SOURCE file names into account (41608cf)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Jun 18 15:21:28 PDT 2014
Repository : https://github.com/geodynamics/specfem2d
On branches: devel,master
Link : https://github.com/geodynamics/specfem2d/compare/fc67e6fd7ad890705b2b72b4b3c509accb22249e...e9ca46c40131588d89d7b0883250bc6584ce6b4c
>---------------------------------------------------------------
commit 41608cf0358c21f8862a3fae7bd606526d70988c
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date: Sat Jul 7 16:07:52 2012 +0000
updated all the process.sh to take the new STATIONS and SOURCE file names into account
>---------------------------------------------------------------
41608cf0358c21f8862a3fae7bd606526d70988c
Abel_Brest/process.sh | 4 +---
M2_UPPA/process.sh | 4 +---
Rayleigh_wave_no_crack/process.sh | 4 +---
Rayleigh_wave_with_crack/process.sh | 4 +---
Tape2007/process.sh | 4 +---
Tape2007_kernel/process.sh | 4 +---
Tromp2005/process.sh | 4 +---
Tromp2005_kernel/process.sh | 4 +---
acoustic_poroelastic/process.sh | 4 +---
attenuation/process.sh | 4 +---
canyon/process.sh | 4 +---
fluid_solid/fluid_solid_external_mesh/process.sh | 4 +---
fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/process.sh | 4 +---
.../from_2000_Geophysics_paper_sinusoidal_ocean_bottom/process.sh | 4 +---
init_plane/process.sh | 4 +---
semi_infinite_homo/process.sh | 6 ++----
16 files changed, 17 insertions(+), 49 deletions(-)
diff --git a/Abel_Brest/process.sh b/Abel_Brest/process.sh
index b5b6532..0199418 100755
--- a/Abel_Brest/process.sh
+++ b/Abel_Brest/process.sh
@@ -55,9 +55,7 @@ echo
./xspecfem2D > OUTPUT_FILES/output_solver.txt
# stores output
-cp DATA/SOURCE_xz.dat OUTPUT_FILES/
-cp DATA/STATIONS OUTPUT_FILES/
-cp DATA/STATIONS_target OUTPUT_FILES/
+cp DATA/*SOURCE* DATA/*STATIONS* OUTPUT_FILES
echo
echo "see results in directory: OUTPUT_FILES/"
diff --git a/M2_UPPA/process.sh b/M2_UPPA/process.sh
index 4f94f18..03b59c8 100755
--- a/M2_UPPA/process.sh
+++ b/M2_UPPA/process.sh
@@ -55,9 +55,7 @@ echo
./xspecfem2D > OUTPUT_FILES/output_solver.txt
# stores output
-cp DATA/SOURCE_xz.dat OUTPUT_FILES/
-cp DATA/STATIONS OUTPUT_FILES/
-cp DATA/STATIONS_target OUTPUT_FILES/
+cp DATA/*SOURCE* DATA/*STATIONS* OUTPUT_FILES
echo
echo "see results in directory: OUTPUT_FILES/"
diff --git a/Rayleigh_wave_no_crack/process.sh b/Rayleigh_wave_no_crack/process.sh
index 7a5c5a4..933e6d9 100755
--- a/Rayleigh_wave_no_crack/process.sh
+++ b/Rayleigh_wave_no_crack/process.sh
@@ -56,9 +56,7 @@ echo
./xspecfem2D > OUTPUT_FILES/output_solver.txt
# stores output
-cp DATA/SOURCE_xz.dat OUTPUT_FILES/
-cp DATA/STATIONS OUTPUT_FILES/
-cp DATA/STATIONS_target OUTPUT_FILES/
+cp DATA/*SOURCE* DATA/*STATIONS* OUTPUT_FILES
echo
echo "see results in directory: OUTPUT_FILES/"
diff --git a/Rayleigh_wave_with_crack/process.sh b/Rayleigh_wave_with_crack/process.sh
index 7a5c5a4..933e6d9 100755
--- a/Rayleigh_wave_with_crack/process.sh
+++ b/Rayleigh_wave_with_crack/process.sh
@@ -56,9 +56,7 @@ echo
./xspecfem2D > OUTPUT_FILES/output_solver.txt
# stores output
-cp DATA/SOURCE_xz.dat OUTPUT_FILES/
-cp DATA/STATIONS OUTPUT_FILES/
-cp DATA/STATIONS_target OUTPUT_FILES/
+cp DATA/*SOURCE* DATA/*STATIONS* OUTPUT_FILES
echo
echo "see results in directory: OUTPUT_FILES/"
diff --git a/Tape2007/process.sh b/Tape2007/process.sh
index e113e21..de744e2 100755
--- a/Tape2007/process.sh
+++ b/Tape2007/process.sh
@@ -56,9 +56,7 @@ echo
./xspecfem2D > OUTPUT_FILES/output_solver.txt
# stores output
-cp DATA/SOURCE_xz.dat OUTPUT_FILES/
-cp DATA/STATIONS OUTPUT_FILES/
-cp DATA/STATIONS_target OUTPUT_FILES/
+cp DATA/*SOURCE* DATA/*STATIONS* OUTPUT_FILES
echo
echo "see results in directory: OUTPUT_FILES/"
diff --git a/Tape2007_kernel/process.sh b/Tape2007_kernel/process.sh
index 852ed3a..e0373de 100755
--- a/Tape2007_kernel/process.sh
+++ b/Tape2007_kernel/process.sh
@@ -56,9 +56,7 @@ echo
./xspecfem2D > OUTPUT_FILES/output_solver.txt
# stores output
-cp DATA/SOURCE_xz.dat OUTPUT_FILES/
-cp DATA/STATIONS OUTPUT_FILES/
-cp DATA/STATIONS_target OUTPUT_FILES/
+cp DATA/*SOURCE* DATA/*STATIONS* OUTPUT_FILES
echo
echo "see results in directory: OUTPUT_FILES/"
diff --git a/Tromp2005/process.sh b/Tromp2005/process.sh
index 1cb6d5f..2de001f 100755
--- a/Tromp2005/process.sh
+++ b/Tromp2005/process.sh
@@ -55,9 +55,7 @@ echo
./xspecfem2D > OUTPUT_FILES/output_solver.txt
# stores output
-cp DATA/SOURCE_xz.dat OUTPUT_FILES/
-cp DATA/STATIONS OUTPUT_FILES/
-cp DATA/STATIONS_target OUTPUT_FILES/
+cp DATA/*SOURCE* DATA/*STATIONS* OUTPUT_FILES
echo
echo "see results in directory: OUTPUT_FILES/"
diff --git a/Tromp2005_kernel/process.sh b/Tromp2005_kernel/process.sh
index 08d1763..eab1b56 100755
--- a/Tromp2005_kernel/process.sh
+++ b/Tromp2005_kernel/process.sh
@@ -56,9 +56,7 @@ echo
./xspecfem2D > OUTPUT_FILES/output_solver.txt
# stores output
-cp DATA/SOURCE_xz.dat OUTPUT_FILES/
-cp DATA/STATIONS OUTPUT_FILES/
-cp DATA/STATIONS_target OUTPUT_FILES/
+cp DATA/*SOURCE* DATA/*STATIONS* OUTPUT_FILES
echo
echo "see results in directory: OUTPUT_FILES/"
diff --git a/acoustic_poroelastic/process.sh b/acoustic_poroelastic/process.sh
index 5437bf4..fe4d5c6 100755
--- a/acoustic_poroelastic/process.sh
+++ b/acoustic_poroelastic/process.sh
@@ -55,9 +55,7 @@ echo
./xspecfem2D > OUTPUT_FILES/output_solver.txt
# stores output
-cp DATA/SOURCE_xz.dat OUTPUT_FILES/
-cp DATA/STATIONS OUTPUT_FILES/
-cp DATA/STATIONS_target OUTPUT_FILES/
+cp DATA/*SOURCE* DATA/*STATIONS* OUTPUT_FILES
echo
echo "see results in directory: OUTPUT_FILES/"
diff --git a/attenuation/process.sh b/attenuation/process.sh
index 86cfe31..54a095c 100755
--- a/attenuation/process.sh
+++ b/attenuation/process.sh
@@ -56,9 +56,7 @@ echo
./xspecfem2D > OUTPUT_FILES/output_solver.txt
# stores output
-cp DATA/SOURCE_xz.dat OUTPUT_FILES/
-cp DATA/STATIONS OUTPUT_FILES/
-cp DATA/STATIONS_target OUTPUT_FILES/
+cp DATA/*SOURCE* DATA/*STATIONS* OUTPUT_FILES
echo
echo "see results in directory: OUTPUT_FILES/"
diff --git a/canyon/process.sh b/canyon/process.sh
index 1c23fe8..fa7ea6f 100755
--- a/canyon/process.sh
+++ b/canyon/process.sh
@@ -56,9 +56,7 @@ echo
./xspecfem2D
# stores output
-cp DATA/SOURCE_xz.dat OUTPUT_FILES/
-cp DATA/STATIONS OUTPUT_FILES/
-cp DATA/STATIONS_target OUTPUT_FILES/
+cp DATA/*SOURCE* DATA/*STATIONS* OUTPUT_FILES
echo
echo "see results in directory: OUTPUT_FILES/"
diff --git a/fluid_solid/fluid_solid_external_mesh/process.sh b/fluid_solid/fluid_solid_external_mesh/process.sh
index 004adb5..79a2b96 100755
--- a/fluid_solid/fluid_solid_external_mesh/process.sh
+++ b/fluid_solid/fluid_solid_external_mesh/process.sh
@@ -55,9 +55,7 @@ echo
./xspecfem2D > OUTPUT_FILES/output_solver.txt
# stores output
-cp DATA/SOURCE_xz.dat OUTPUT_FILES/
-cp DATA/STATIONS OUTPUT_FILES/
-cp DATA/STATIONS_target OUTPUT_FILES/
+cp DATA/*SOURCE* DATA/*STATIONS* OUTPUT_FILES
echo
echo "see results in directory: OUTPUT_FILES/"
diff --git a/fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/process.sh b/fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/process.sh
index b5cb380..9e9bf74 100755
--- a/fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/process.sh
+++ b/fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/process.sh
@@ -57,9 +57,7 @@ echo
./xspecfem2D
# stores output
-cp DATA/SOURCE_xz.dat OUTPUT_FILES/
-cp DATA/STATIONS OUTPUT_FILES/
-cp DATA/STATIONS_target OUTPUT_FILES/
+cp DATA/*SOURCE* DATA/*STATIONS* OUTPUT_FILES
echo
echo "see results in directory: OUTPUT_FILES/"
diff --git a/fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom/process.sh b/fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom/process.sh
index b5cb380..9e9bf74 100755
--- a/fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom/process.sh
+++ b/fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom/process.sh
@@ -57,9 +57,7 @@ echo
./xspecfem2D
# stores output
-cp DATA/SOURCE_xz.dat OUTPUT_FILES/
-cp DATA/STATIONS OUTPUT_FILES/
-cp DATA/STATIONS_target OUTPUT_FILES/
+cp DATA/*SOURCE* DATA/*STATIONS* OUTPUT_FILES
echo
echo "see results in directory: OUTPUT_FILES/"
diff --git a/init_plane/process.sh b/init_plane/process.sh
index c1da134..61c146d 100755
--- a/init_plane/process.sh
+++ b/init_plane/process.sh
@@ -56,9 +56,7 @@ echo
./xspecfem2D > OUTPUT_FILES/output_solver.txt
# stores output
-cp DATA/SOURCE_xz.dat OUTPUT_FILES/
-cp DATA/STATIONS OUTPUT_FILES/
-cp DATA/STATIONS_target OUTPUT_FILES/
+cp DATA/*SOURCE* DATA/*STATIONS* OUTPUT_FILES
echo
echo "see results in directory: OUTPUT_FILES/"
diff --git a/semi_infinite_homo/process.sh b/semi_infinite_homo/process.sh
index 7ea792e..5747e7c 100755
--- a/semi_infinite_homo/process.sh
+++ b/semi_infinite_homo/process.sh
@@ -53,12 +53,10 @@ echo
echo
echo " running solver..."
echo
-./xspecfem2D > OUTPUT_FILES/output_solver.txt #xiezhinan
+./xspecfem2D > OUTPUT_FILES/output_solver.txt
# stores output
-cp DATA/SOURCE_xz.dat OUTPUT_FILES/ #xiezhinan
-cp DATA/STATIONS OUTPUT_FILES/ #xiezhinan
-cp DATA/STATIONS_target OUTPUT_FILES/ #xiezhinan
+cp DATA/*SOURCE* DATA/*STATIONS* OUTPUT_FILES
echo
echo "see results in directory: OUTPUT_FILES/"
More information about the CIG-COMMITS
mailing list