[cig-commits] r20420 - seismo/3D/SPECFEM3D/trunk/examples/homogeneous_halfspace
carltape at geodynamics.org
carltape at geodynamics.org
Tue Jun 26 22:47:47 PDT 2012
Author: carltape
Date: 2012-06-26 22:47:47 -0700 (Tue, 26 Jun 2012)
New Revision: 20420
Modified:
seismo/3D/SPECFEM3D/trunk/examples/homogeneous_halfspace/README
seismo/3D/SPECFEM3D/trunk/examples/homogeneous_halfspace/README_kernel
Log:
fixed a couple typos in README_kernel
Modified: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_halfspace/README
===================================================================
--- seismo/3D/SPECFEM3D/trunk/examples/homogeneous_halfspace/README 2012-06-26 21:32:10 UTC (rev 20419)
+++ seismo/3D/SPECFEM3D/trunk/examples/homogeneous_halfspace/README 2012-06-27 05:47:47 UTC (rev 20420)
@@ -8,7 +8,13 @@
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:
Modified: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_halfspace/README_kernel
===================================================================
--- seismo/3D/SPECFEM3D/trunk/examples/homogeneous_halfspace/README_kernel 2012-06-26 21:32:10 UTC (rev 20419)
+++ seismo/3D/SPECFEM3D/trunk/examples/homogeneous_halfspace/README_kernel 2012-06-27 05:47:47 UTC (rev 20420)
@@ -21,7 +21,7 @@
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 @@
- 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 @@
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 @@
> ./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