@@ -11,19 +11,19 @@ For internal users the pages Determenistic Inversion Output and Inversion Code W
...
@@ -11,19 +11,19 @@ For internal users the pages Determenistic Inversion Output and Inversion Code W
# Compilation
# Compilation
At first you need to create a excecuteable wich was compiled with flag ``ad``. Therfore you have to checkout your SHEMAT-Suite repository like this:
At first you need to create a excecuteable wich was compiled with flag ``ad``. Therfore you have to checkout your SHEMAT-Suite repository like this:
```
```
git checkout master-full-ad
git checkout master-all
```
```
Now you can compile your excecuteable. Best practice is to use a [Compilation Shell Script](../tutorial/compilation#compilation-shell-script), wich combines all necessary steps. One can be found in the SHEMAT-Suite_Modells repository: [compilequick.sh](https://git.rwth-aachen.de/SHEMAT-Suite/SHEMAT-Suite_Models/blob/master/compilequick.sh). Here you have to set ``shem_type="ad"``. For this tutorial you have to set ``shem_type="ad"``, ``mode="head" ``, ``props="const"``, ``user="none"``, ``compiler_name="ifort"``, ``flags="-Dhdf=ON -Domp=OFF -j16"`` Also make sure to change `model_dir` and `make_dir` to your personal directories. Maybe you should create a new model directory for this tutorial.
Now you can compile your excecuteable. Best practice is to use a [Compilation Shell Script](../tutorial/compilation#compilation-shell-script), wich combines all necessary steps. One can be found in the SHEMAT-Suite_Modells repository: [compilequick.sh](https://git.rwth-aachen.de/SHEMAT-Suite/SHEMAT-Suite_Models/blob/master/compilequick.sh). Here you have to set ``shem_type="ad"``. For this tutorial you have to set ``shem_type="ad"``, ``mode="head" ``, ``props="const"``, ``user="none"``, ``compiler_name="ifort"``, ``flags="-Dhdf=ON -Domp=OFF -j16"`` Also make sure to change `model_dir` and `make_dir` to your personal directories. Maybe you should create a new model directory for this tutorial.
```
```
./compilequick.sh
./compilequick.sh
```
```
Now ``shem_ad_ifort_const_none_head_master-full-ad_quick.x`` is in your model directory. (Note: Naming convention may have changed)
Now ``shem_ad_ifort_const_none_head_master-all_quick.x`` is in your model directory. (Note: Naming convention may have changed)
# Creating Input File
# Creating Input File
## Run Forward Model
## Run Forward Model
At first you need a model, wich you want to calculate a deterministic inversion for. In this tutorial we will use [oed_perth_init](uploads/9a7000f5eb0967ceaac204ea54a3548f/oed_perth_init). With all existing key-words you should be familiar, if not you may first should take a look at [Howto: Forward computation](./howto_forward), where a example Input File is created. If you want to look up specific key-words go to [Input File](../tutorial/input_file). Copy ``oed_perth_init`` in your modell directory. Make sure the repository contains a file named ``shemade.job`` wich only contains the model name: ``oed_perth_init``.
At first you need a model, wich you want to calculate a deterministic inversion for. In this tutorial we will use [oed_perth_init](uploads/9a7000f5eb0967ceaac204ea54a3548f/oed_perth_init). With all existing key-words you should be familiar, if not you may first should take a look at [Howto: Forward computation](./howto_forward), where a example Input File is created. If you want to look up specific key-words go to [Input File](../tutorial/input_file). Copy ``oed_perth_init`` in your modell directory. Make sure the repository contains a file named ``shemade.job`` wich only contains the model name: ``oed_perth_init``.
The values of this solution will be used as starting values for the deterministic inversion. For the the next steps you will only need ``oed_perth_init_final.h5``, ``shemade.job``, ``oed_perth_init`` and the executeable, maybe you should create a new subfolder and cut all other files there.
The values of this solution will be used as starting values for the deterministic inversion. For the the next steps you will only need ``oed_perth_init_final.h5``, ``shemade.job``, ``oed_perth_init`` and the executeable, maybe you should create a new subfolder and cut all other files there.
...
@@ -150,5 +150,5 @@ With this key-word you add observed/measured data. For a runmode greater or equa
...
@@ -150,5 +150,5 @@ With this key-word you add observed/measured data. For a runmode greater or equa
# Execution
# Execution
You finished your first Determenistic Inversion Input File, execute it. Make sure your working directory contains the files ``shemade.job``, ``oed_inv``, ``oed_perth_init_final.h5`` and the executeable.
You finished your first Determenistic Inversion Input File, execute it. Make sure your working directory contains the files ``shemade.job``, ``oed_inv``, ``oed_perth_init_final.h5`` and the executeable.