[cig-commits] [commit] devel, master: minor edits to instructions for default example (23c3751)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Jun 18 16:53:18 PDT 2014
Repository : https://github.com/geodynamics/specfem3d
On branches: devel,master
Link : https://github.com/geodynamics/specfem3d/compare/6026e367984905ab133865f62fa6293b343759b9...47f703851338234f96397e7da9fbff63d8178b8a
>---------------------------------------------------------------
commit 23c37519f2f681c00ce32223731f46b836c9a284
Author: Carl Tape <carltape at gi.alaska.edu>
Date: Fri May 10 19:08:21 2013 +0000
minor edits to instructions for default example
>---------------------------------------------------------------
23c37519f2f681c00ce32223731f46b836c9a284
README | 5 +++--
homogeneous_halfspace | 1 +
.../README | 19 ++++++++++---------
3 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/README b/README
index 67f6dbb..7443e74 100644
--- a/README
+++ b/README
@@ -8,9 +8,10 @@ This folder contains several examples with increasing complexities.
To familiarize yourself with the package and CUBIT support,
we suggest to start with:
-- homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/: a model with a single constant material description.
+- homogeneous_halfspace/: a model with a single constant material description.
- Use the script "process.sh" in that directory to run the simulation.
+ Use the script "process.sh" in that directory to run the simulation,
+ or execute the step-by-step instructions in the README from that directory.
More complex examples are provided in:
diff --git a/homogeneous_halfspace b/homogeneous_halfspace
new file mode 120000
index 0000000..7f2411a
--- /dev/null
+++ b/homogeneous_halfspace
@@ -0,0 +1 @@
+homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides
\ No newline at end of file
diff --git a/homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/README b/homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/README
index 17d14d5..3d8134f 100644
--- a/homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/README
+++ b/homogeneous_halfspace_HEX8_elastic_absorbing_Stacey_5sides/README
@@ -23,12 +23,13 @@ step-by-step tutorial:
- From the SPECFEM3D root directory SPECFEM3D/
configure the package, e.g. using intel's ifort compiler:
> cd SPECFEM3D
- > ./configure F90=ifort --with-scotch-dir=/my_path_to_scotch
+ > ./configure FC=ifort MPIFC=mpif90
If successful, this will generate the files in src/shared/:
Makefile, constants.h, and precision.h, among others
- note: the same compiler used for SCOTCH must be used for SPECFEM3D (ifort, gfortran, pgf90)
+ note: If SCOTCH is installed separately, then the same compiler
+ used for SCOTCH must be used for SPECFEM3D (ifort, gfortran, pgf90)
- copy run scripts from utils/Cluster/ into SPECFEM3D/, e.g.,
pbs/go_decomposer_pbs.bash
@@ -38,17 +39,17 @@ step-by-step tutorial:
> cp utils/Cluster/pbs/*.bash .
note: you may need to adjust the commands (e.g., -q or -l)
-
+ note: in this example you do not need go_mesher_pbs.bash and valgrind_go_solver_pbs.bash
2. copy three input files from examples directory into SPECFEM3D/DATA/
- > cd examples/homogeneous_halfspace_HEX8/DATA/
+ > cd examples/homogeneous_halfspace/DATA/
> cp * ../../../DATA/
3. create mesh:
- - from the directory SPECFEM3D/examples/homogeneous_halfspace_HEX8,
+ - from the directory SPECFEM3D/examples/homogeneous_halfspace,
open the cubit GUI:
> claro (or cubit)
@@ -122,23 +123,23 @@ step-by-step tutorial:
and you can track the progress with the timestamp files
generated in OUTPUT_FILES/
- - the job should take a couple minutes
+ - the job should take about 30 minutes
- when the job is complete, you should have 3 sets (semd,semv,sema)
of 18 (ls -1 *semd | wc) seismogram files in the directory OUTPUT_FILES,
as well as 3 timestamp****** files
7. check with 6 reference seismograms in
- SPECFEM3D/examples/homogeneous_halfspace_HEX8/REF_SEIS/
+ SPECFEM3D/examples/homogeneous_halfspace/REF_SEIS/
- option 1: from SPECFEM3D/, quick viewing using xmgrace (if available):
- > xmgrace examples/homogeneous_halfspace_HEX8/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_HEX8/REF_SEIS
+ > cd SPECFEM3D/examples/homogeneous_halfspace/REF_SEIS
> gnuplot
gnuplot> load "X1-50.BXZ.gnuplot"
More information about the CIG-COMMITS
mailing list