[cig-commits] [commit] devel, master: fixed a couple typos in README_kernel (1245733)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Jun 18 16:49:25 PDT 2014
Repository : https://github.com/geodynamics/specfem3d
On branches: devel,master
Link : https://github.com/geodynamics/specfem3d/compare/6026e367984905ab133865f62fa6293b343759b9...47f703851338234f96397e7da9fbff63d8178b8a
>---------------------------------------------------------------
commit 1245733cd5162e01c95440659be4c112f0fe02c4
Author: Carl Tape <carltape at gi.alaska.edu>
Date: Wed Jun 27 05:47:47 2012 +0000
fixed a couple typos in README_kernel
>---------------------------------------------------------------
1245733cd5162e01c95440659be4c112f0fe02c4
homogeneous_halfspace/README | 8 +++++++-
homogeneous_halfspace/README_kernel | 12 ++++++------
2 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/homogeneous_halfspace/README b/homogeneous_halfspace/README
index 9c025eb..817be5f 100644
--- a/homogeneous_halfspace/README
+++ b/homogeneous_halfspace/README
@@ -8,7 +8,13 @@ constant elastic material property, using CUBIT and runs a forward simulation.
step-by-step tutorial:
0. check that all software is available (or that modules are loaded):
- intel/openmpi, cubit, scotch, python, gnuplot (or xmgrace)
+ openmpi: > which mpirun
+ cubit: > which cubit
+ scotch: > which gout
+ python: > which python
+ optional:
+ gnuplot: > which gnuplot
+ xmgrace: > which xmgrace
1. configure package:
diff --git a/homogeneous_halfspace/README_kernel b/homogeneous_halfspace/README_kernel
index 09b3b70..406a17d 100644
--- a/homogeneous_halfspace/README_kernel
+++ b/homogeneous_halfspace/README_kernel
@@ -21,7 +21,7 @@ step-by-step kernel tutorial:
update the Par_file:
> cd /SPECFEM3D
- > ./UTILS/change_simulation_type.pl -F
+ > ./utils/change_simulation_type.pl -F
or change manually in /SPECFEM3D/in_data_files/Par_file:
...
@@ -67,21 +67,20 @@ step-by-step kernel tutorial:
- setup adjoint stations file STATIONS_ADJOINT containing the receiver stations locations
which will have adjoint source files in in_out_files/SEM/:
> cd /SPECFEM3D
- > cp examples/homogeneous_halfspace/STATIONS_ADJOINT in_data_files/
+ > cp examples/homogeneous_halfspace/in_data_files/STATIONS_ADJOINT in_data_files/
3. run adjoint simulation with restored backward wavefields:
- update the Par_file:
> cd /SPECFEM3D
- > ./UTILS/change_simulation_type.pl -b
+ > ./utils/change_simulation_type.pl -b
or change manually in /SPECFEM3D/in_data_files/Par_file:
# forward or adjoint simulation
SIMULATION_TYPE = 3
SAVE_FORWARD = .false.
-
- run the backward simulation, submitting the job script:
> qsub go_solver_pbs.bash
@@ -95,7 +94,6 @@ step-by-step kernel tutorial:
in_out_files/DATABASES_MPI/proc000***_rho_kernel.bin
in_out_files/DATABASES_MPI/proc000***_rhop_kernel.bin
-
- visualize with Paraview, e.g. :
> cd /SPECFEM3D
> make xcombine_vol_data
@@ -103,8 +101,10 @@ step-by-step kernel tutorial:
> ./xcombine_vol_data 0 3 kappa_kernel ../in_out_files/DATABASES_MPI/ ../in_out_files/OUTPUT_FILES/ 1
where we use the partitions with id 0 to 3 to include all 4 processor partitions.
+ By default, this will produce the vtk file /SPECFEM3D/in_out_files/OUTPUT_FILES/kappa_kernel.vtk
+ This file can be visualized using Paraview.
-
+ OPTIONAL:
To convert the mesh format to VTK, you can use utils/Visualization/Paraview/mesh2vtu:
> cd utils/Visualization/Paraview/mesh2vtu
Modify the Makefile according to your library paths and compile mesh2vtu:
More information about the CIG-COMMITS
mailing list