# AutoRPE

Tool to automatically implement the Reduced Precision Emulator into a Fortran code.

### Instructions

To use the tool follow the steps below:
- Put the sources to be processed into **ModelSources/Input** directory.
- Create/modify a file **lost_of_files_to_keep_unmodified.txt** inside **AdditionalFiles** with the names of the files that shouldn't be modified (usually external routines, mpi...)
- Launch ```python ImplementRPEtoSource.py```
- Be ready to solve the issues that will appear.


### Create the namelist
NamelistGenerator.py is an additional script that will generate a namelist where the precision of the variables can be specified.
It needs the **vault.pkl** file generated when the implementation is done.


### Solving problems
Probaly the best way to manage the issues that will apear with the tool is using the gitlab platform itself.


Let the party begin!