[cig-commits] r18871 - seismo/2D/SPECFEM2D/trunk/EXAMPLES/canyon

dkomati1 at geodynamics.org dkomati1 at geodynamics.org
Thu Sep 1 06:56:06 PDT 2011


Author: dkomati1
Date: 2011-09-01 06:56:06 -0700 (Thu, 01 Sep 2011)
New Revision: 18871

Modified:
   seismo/2D/SPECFEM2D/trunk/EXAMPLES/canyon/process.sh
Log:
fixed the script to run the "EXAMPLES/canyon" example


Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/canyon/process.sh
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/canyon/process.sh	2011-09-01 13:46:17 UTC (rev 18870)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/canyon/process.sh	2011-09-01 13:56:06 UTC (rev 18871)
@@ -8,7 +8,7 @@
 currentdir=`pwd`
 
 echo
-echo "(will take about 5 minutes)"
+echo "(will take a few minutes)"
 echo
 
 # sets up directory structure in current example directoy
@@ -23,6 +23,7 @@
 cd DATA/
 ln -s ../Par_file_canyon Par_file
 ln -s ../SOURCE_canyon SOURCE
+ln -s ../mesh mesh
 cd ../
 
 # cleans output files
@@ -30,7 +31,7 @@
 
 # compiles executables in root directory
 cd ../../
-make > tmp.log
+make
 cd $currentdir
 
 # links executables
@@ -44,15 +45,15 @@
 
 # runs database generation
 echo
-echo "  running mesher..."
+echo "  running the mesher..."
 echo
-./xmeshfem2D > OUTPUT_FILES/output_mesher.txt
+./xmeshfem2D
 
 # runs simulation
 echo
-echo "  running solver..."
+echo "  running the solver..."
 echo
-./xspecfem2D > OUTPUT_FILES/output_solver.txt
+./xspecfem2D
 
 # stores output
 cp DATA/SOURCE_xz.dat OUTPUT_FILES/



More information about the CIG-COMMITS mailing list