README.md 933 Bytes
Newer Older
sparonuz's avatar
sparonuz committed
This documents contains instruction to implement the RP Emulator in code dwarf-lonlev-0.91_0.\
There are few steps to obtain the instrumented executable.
1.  `cd bin`
sparonuz's avatar
sparonuz committed
2.  Either execute a `git clone http://earth.bsc.es/gitlab/otinto/AutoRPE.git --branch dwarf-lonlev-0.91_0` or copy the folder here.
sparonuz's avatar
sparonuz committed
2.  Edit the configuration file `param.cfg` with the path to the original dwarf-lonlev-0.91_0 folder
3.  run the script 
```
./Implement_RPE.sh
```
sparonuz's avatar
sparonuz committed
A python3 interpreter is needed.

sparonuz's avatar
sparonuz committed
The script will perform all the checks necessary to implement the emulator and create a folder named `RPE_IMPLEMENTATION` which contains the modified code, already compiled.
sparonuz's avatar
sparonuz committed
The new executable will read 
* a modified `nam_radia_dwarf* .nam` namelist
* an additional namelist `namelist_precisions` in which the precision of the variables are specified.

By default the precision of all the variables is set to 52, i.e. double precision.
sparonuz's avatar
sparonuz committed

sparonuz's avatar
sparonuz committed
Change & Enjoy