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 This KTEST allows to verify the coupling between Meso-NH/SURFEX and two toy models: ocean and waves.
gfortran/openMPI. 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 ## Configure Meso-NH
if you want to use another compiler.
-----------------------------------------------------
1. Configure Meso-NH
-----------------------------------------------------
```bash
export VER_MPI=MPIAUTO export VER_MPI=MPIAUTO
export VER_CDF=CDFAUTO export VER_CDF=CDFAUTO
export VER_OASIS=OASISAUTO export VER_OASIS=OASISAUTO
./configure ./configure
. ../conf/profile_mesonh . ../conf/profile_mesonh
```
----------------------------------------------------- ## Compile Meso-NH
2. Compile Meso-NH
-----------------------------------------------------
```bash
make make
make installmaster make installmaster
```
----------------------------------------------------- # Launch the coupling run
3. Launch the coupling run
-----------------------------------------------------
Before launching the coupling run, you have to define Before launching the coupling run, you have to define the environnment variable PREP_PGD_FILES.
the environnment variable PREP_PGD_FILES. It corresponds to the directory where the files needed by the PGD program (ECOCLIMAP, gtopo30, SAND*, CLAY*)
It corresponds to the directory where the files are stored. You can download these files at this location: http://mesonh.aero.obs-mip.fr/mesonh57/Download.
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
The toy model need the etopo2.nc file, you can download it there: The toy model need the etopo2.nc file, you can download it there: http://mesonh.aero.obs-mip.fr/mesonh57/Download.
http://mesonh.aero.obs-mip.fr/mesonh49/Download
You have to put this file at the same location as the pgd files. You have to put this file at the same location as the pgd files.
Define the PREP_PGD_FILES environnment variable: Define the PREP_PGD_FILES environnment variable:
```bash
export PREP_PGD_FILES=/full/path/of/your/files/directory export PREP_PGD_FILES=/full/path/of/your/files/directory
```
Then go to the coupling ktest: Then go to the coupling ktest:
```bash
cd MY_RUN/KTEST/013_Iroise_OASIS_coupling/ cd MY_RUN/KTEST/013_Iroise_OASIS_coupling/
```
and launch the coupling KTEST: and launch the coupling KTEST:
```bash
./run_013_Iroise_OASIS_coupling ./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