Skip to content
Snippets Groups Projects
Commit ddc26937 authored by RODIER Quentin's avatar RODIER Quentin
Browse files

Joris P. 11/07/2024: Update README.md for KTEST 013_Iroise_OASIS_coupling (squashed)

parent 470adedd
No related branches found
No related tags found
No related merge requests found
=====================================================
===== Readme for 013_Iroise_OASIS_coupling
=====================================================
# Readme for 013_Iroise_OASIS_coupling
The automatic compilation of Meso-NH was developed with
gfortran/openMPI.
This KTEST allows to verify the coupling between Meso-NH/SURFEX and two toy models: ocean and waves.
OASIS and the toy model are compiled automatically before Meso-NH is compiled.
Detailed informations about this KTEST can be found here : https://jorispianezze.github.io/documentations/documentation_mesonh_toy_coupling/index.html.
Adaptation of the Makefile for OASIS is required
if you want to use another compiler.
-----------------------------------------------------
1. Configure Meso-NH
-----------------------------------------------------
## Configure Meso-NH
```bash
export VER_MPI=MPIAUTO
export VER_CDF=CDFAUTO
export VER_OASIS=OASISAUTO
./configure
. ../conf/profile_mesonh
```
-----------------------------------------------------
2. Compile Meso-NH
-----------------------------------------------------
## Compile Meso-NH
```bash
make
make installmaster
```
-----------------------------------------------------
3. Launch the coupling run
-----------------------------------------------------
# Launch the coupling run
Before launching the coupling run, you have to define
the environnment variable PREP_PGD_FILES.
It corresponds to the directory where the files
needed by the PGD program (ECOCLIMAP, gtopo30, SAND*, CLAY*)
are stored. You can download these files at this location:
http://mesonh.aero.obs-mip.fr/mesonh52/Download
Before launching the coupling run, you have to define the environnment variable PREP_PGD_FILES.
It corresponds to the directory where the files needed by the PGD program (ECOCLIMAP, gtopo30, SAND*, CLAY*)
are stored. You can download these files at this location: http://mesonh.aero.obs-mip.fr/mesonh57/Download.
The toy model need the etopo2.nc file, you can download it there:
http://mesonh.aero.obs-mip.fr/mesonh49/Download
The toy model need the etopo2.nc file, you can download it there: http://mesonh.aero.obs-mip.fr/mesonh57/Download.
You have to put this file at the same location as the pgd files.
Define the PREP_PGD_FILES environnment variable:
```bash
export PREP_PGD_FILES=/full/path/of/your/files/directory
```
Then go to the coupling ktest:
```bash
cd MY_RUN/KTEST/013_Iroise_OASIS_coupling/
```
and launch the coupling KTEST:
```bash
./run_013_Iroise_OASIS_coupling
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment