This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software:specfem3d:start [2014/01/03 00:30] emheien [Tutorial 3: Mount St. Helens] |
software:specfem3d:start [2015/02/11 17:45] (current) emheien |
||
---|---|---|---|
Line 2: | Line 2: | ||
[[http://geodynamics.org/cig/software/specfem3d|SPECFEM3D Software Page]] | [[http://geodynamics.org/cig/software/specfem3d|SPECFEM3D Software Page]] | ||
+ | |||
+ | ===== Development ===== | ||
+ | |||
+ | If you want to contribute to the source code, please refer to [[https://github.com/geodynamics/specfem3d/wiki|https://github.com/geodynamics/specfem3d/wiki]] for details. | ||
===== Tutorials ===== | ===== Tutorials ===== | ||
+ | |||
+ | Step-by-step tutorials how to run SPECFEM3D simulations | ||
==== Tutorial 1: Homogeneous halfspace ==== | ==== Tutorial 1: Homogeneous halfspace ==== | ||
Line 450: | Line 456: | ||
=== Downloading topography data === | === Downloading topography data === | ||
- | You can get [[http://srtm.csi.cgiar.org|SRTM]] 90m Digital Elevation Data for a region of interest at: [[http://srtm.csi.cgiar.org|http://srtm.csi.cgiar.org]] | + | You can get [[http://srtm.csi.cgiar.org|SRTM]] 90m Digital Elevation Data for a region of interest at: [[http://srtm.csi.cgiar.org|http://srtm.csi.cgiar.org]] |
For this example, we choose Mount St.Helens as region of interest. | For this example, we choose Mount St.Helens as region of interest. | ||
Line 470: | Line 476: | ||
=== Converting Geotif topography data === | === Converting Geotif topography data === | ||
- | To convert the Geotif-file into an ''longitude/latitude/elevation'' format, you can use the package [[http://fwtools.maptools.org/|FWTools]] at: [[http://fwtools.maptools.org/|http://fwtools.maptools.org/]] | + | To convert the Geotif-file into an ''longitude/latitude/elevation'' format, you can use the package [[http://fwtools.maptools.org/|FWTools]] at: [[http://fwtools.maptools.org/|http://fwtools.maptools.org/]] |
Install the package and use their ''gdal2xyz'' executable to extract the tif file into xyz format: | Install the package and use their ''gdal2xyz'' executable to extract the tif file into xyz format: | ||
Line 484: | Line 490: | ||
To further extract and manipulate the topography data, you can use the package [[http://gmt.soest.hawaii.edu/|GMT]] at: [[http://gmt.soest.hawaii.edu/|http://gmt.soest.hawaii.edu/]] | To further extract and manipulate the topography data, you can use the package [[http://gmt.soest.hawaii.edu/|GMT]] at: [[http://gmt.soest.hawaii.edu/|http://gmt.soest.hawaii.edu/]] | ||
- | For our purpose, the region of interest will be: | + | For our purpose, the region of interest will be: |
- | -R-122.3/-122.1/46.1/46.3// | + | \ -R-122.3/-122.1/46.1/46.3// |
that is a region of ~23 km x 23 km extent. | that is a region of ~23 km x 23 km extent. | ||
Line 554: | Line 560: | ||
=== Setting up example folder for simulations === | === Setting up example folder for simulations === | ||
- | We will set up the example folder for simulation runs: All the steps and following decomposition, database generation and solver run are put in a ''process.sh'' bash script file in the example folder. | + | We will set up the example folder for simulation runs: All the steps and following decomposition, database generation and solver run are put in a ''process.sh'' bash script file in the example folder. |
1. In case you can run parallel programs on your desktop (needs an MPI installation), you can simply run the script: | 1. In case you can run parallel programs on your desktop (needs an MPI installation), you can simply run the script: |