[cig-commits] [commit] devel: update instructions for default example based on file name changes (32f16f6)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Tue Aug 12 11:21:44 PDT 2014
Repository : https://github.com/geodynamics/specfem3d
On branch : devel
Link : https://github.com/geodynamics/specfem3d/compare/59a44850c9a4c90d73857be99243e41f71ff6da1...32f16f61442c627bc16041ad365c479f92d4979c
>---------------------------------------------------------------
commit 32f16f61442c627bc16041ad365c479f92d4979c
Author: Carl Tape <carltape at gmail.com>
Date: Tue Aug 12 10:21:21 2014 -0800
update instructions for default example based on file name changes
>---------------------------------------------------------------
32f16f61442c627bc16041ad365c479f92d4979c
.../README | 18 ++++++++++--------
.../REF_SEIS/plot_these_seismograms_with_gnuplot.gnu | 2 +-
utils/Cluster/pbs/go_decomposer_pbs.bash | 2 +-
3 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/EXAMPLES/homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/README b/EXAMPLES/homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/README
index 4ab175a..9cbf7c7 100644
--- a/EXAMPLES/homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/README
+++ b/EXAMPLES/homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/README
@@ -71,10 +71,12 @@ step-by-step tutorial (long version -- generate MESH with GEOCUBIT):
4. copy three input files from examples directory into SPECFEM3D/DATA/
- > cd examples/homogeneous_halfspace/DATA/
+ > cd EXAMPLES/homogeneous_halfspace/DATA/
> cp * ../../../DATA/
> cd ..
+ note: this may not be needed if the files are already symbolically linked
+
5. create mesh:
- check path, then make mesh
@@ -122,7 +124,7 @@ step-by-step tutorial (long version -- generate MESH with GEOCUBIT):
note 2: for small jobs (like this one), you can simply launch the job on
the local node from directory SPECFEM3D:
- > ./bin/xdecompose_mesh 4 examples/homogeneous_halfspace/MESH/ OUTPUT_FILES/DATABASES_MPI/
+ > ./bin/xdecompose_mesh 4 EXAMPLES/homogeneous_halfspace/MESH/ OUTPUT_FILES/DATABASES_MPI/
7. generate databases:
@@ -160,25 +162,25 @@ step-by-step tutorial (long version -- generate MESH with GEOCUBIT):
as well as 51 timestamp****** files
9. check with 6 reference seismograms in
- SPECFEM3D/examples/homogeneous_halfspace/REF_SEIS/
+ SPECFEM3D/EXAMPLES/homogeneous_halfspace/REF_SEIS/
- option 1: from SPECFEM3D/, quick viewing using xmgrace (if available):
- > xmgrace examples/homogeneous_halfspace/REF_SEIS/*Z.semd &
+ > xmgrace EXAMPLES/homogeneous_halfspace/REF_SEIS/*Z.semd &
> xmgrace OUTPUT_FILES/*Z.semd &
- option 2: generate ps files using gnuplot:
- > cd SPECFEM3D/examples/homogeneous_halfspace/REF_SEIS
+ > cd SPECFEM3D/EXAMPLES/homogeneous_halfspace/REF_SEIS
> gnuplot
- gnuplot> load "X1-50.BXZ.gnuplot"
+ gnuplot> load "plot_these_seismograms_with_gnuplot.gnu"
You should see a figure in a render window.
Writing the figure to a file may depend on your gnuplot settings.
One example to generate a postscript is shown below:
- gnuplot> load "X1-50.BXZ.gnuplot"
+ gnuplot> load "plot_these_seismograms_with_gnuplot.gnu"
gnuplot> set term postscript color solid
Terminal type set to 'postscript'
Options are 'landscape noenhanced color colortext \
@@ -189,7 +191,7 @@ step-by-step tutorial (long version -- generate MESH with GEOCUBIT):
gnuplot> replot
gnuplot> quit
- - copy gnuplot script X1-50.BXZ.gnuplot to OUTPUT_FILES/
+ - copy gnuplot script plot_these_seismograms_with_gnuplot.gnu to OUTPUT_FILES/
- execute same commands as above
- you should see the same image as generated from the reference seismograms
diff --git a/EXAMPLES/homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/REF_SEIS/plot_these_seismograms_with_gnuplot.gnu b/EXAMPLES/homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/REF_SEIS/plot_these_seismograms_with_gnuplot.gnu
index d474340..7caf0c6 100644
--- a/EXAMPLES/homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/REF_SEIS/plot_these_seismograms_with_gnuplot.gnu
+++ b/EXAMPLES/homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/REF_SEIS/plot_these_seismograms_with_gnuplot.gnu
@@ -5,6 +5,6 @@
set xlabel "time (s)"
set ylabel "displacement (m)"
-plot 'X1.DB.BXZ.semd' w l,'X10.DB.BXZ.semd' w l,'X20.DB.BXZ.semd' w l,'X30.DB.BXZ.semd' w l,'X40.DB.BXZ.semd' w l,'X50.DB.BXZ.semd' w l
+plot 'X20.DB.BXZ.semd' w l,'X30.DB.BXZ.semd' w l,'X40.DB.BXZ.semd' w l,'X50.DB.BXZ.semd' w l
pause -1 "Hit key..."
diff --git a/utils/Cluster/pbs/go_decomposer_pbs.bash b/utils/Cluster/pbs/go_decomposer_pbs.bash
index 5b52cc3..78f93be 100755
--- a/utils/Cluster/pbs/go_decomposer_pbs.bash
+++ b/utils/Cluster/pbs/go_decomposer_pbs.bash
@@ -38,7 +38,7 @@ mkdir -p OUTPUT_FILES/
cp go_decomposer_pbs.bash OUTPUT_FILES/
# USER CHANGE MESH DIRECTORY
-MESHDIR=./examples/homogeneous_halfspace/MESH
+MESHDIR=./EXAMPLES/homogeneous_halfspace/MESH
mkdir -p $LOCALPATH
./bin/xdecompose_mesh $NPROC $MESHDIR/ $LOCALPATH/
More information about the CIG-COMMITS
mailing list