From 2a2a2051e4124764f94328f5a8bd52617e0b53d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Riette?= <sebastien.riette@meteo.fr> Date: Fri, 21 Oct 2022 14:21:01 +0200 Subject: [PATCH] S. Riette 21 oct 2022: add the ial_version.json file in doc --- docs/Developer.md | 16 ++++++++++------ docs/Integrator.md | 8 ++++++++ 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/docs/Developer.md b/docs/Developer.md index 0a2043702..9059eccfe 100644 --- a/docs/Developer.md +++ b/docs/Developer.md @@ -91,14 +91,18 @@ Workflow details (getting the source code in blue, pull request in red, integrat ### Special notes for building the model from PHYEX before cycle 49t2 -The model version hosted in IAL is incompatible with the content of the PHYEX repository. +Because the interfaces between the physics and the rest of the model can change, one have to choose the right version of IAL to use with PHYEX. +The file 'src/arome/ial\_version.json' contains a description of this IAL version. + +If no IAL version suits correctly, this json file is accompanied by the 'ext' directory and/or by the 'src/arome/gmkpack\_ignored\_files' file. + To build the model, you must: -- take the source code of cycle 48t3 -- remove the directories 'mpa/\*/internals' and 'mpa/\*/modules' -- put the PHYEX directories 'aux', 'conv', 'micro' and 'turb' into a new directory (at the same level as 'mpa') named 'phyex' -- dispatch the code contained in 'ext' into the subdirectories of 'arpifs' -- remove the files listed in the PHYEX repository in the 'src/arome/gmkpack\_ignored\_files' file +- checkout the IAL source code using the version described in the file src/arome/ial\_version.json +- remove the directories 'mpa/\*/internals' and 'mpa/\*/modules' (if they still exist in IAL, eg: 48t3) +- put the PHYEX directories 'aux', 'conv', 'micro' and 'turb' into a directory (at the same level as 'mpa') named 'phyex' +- if the 'ext' directory exists, dispatch its content into the subdirectories of IAL +- remove from the source tree the files listed in the 'src/arome/gmkpack\_ignored\_files' file ## Contribution workflow for MESO-NH developers diff --git a/docs/Integrator.md b/docs/Integrator.md index 5716ceadb..6726f35b0 100644 --- a/docs/Integrator.md +++ b/docs/Integrator.md @@ -47,6 +47,14 @@ Details for point 6: - when asked by the IAL integrator, builds a new arome specific branch (see [below](#code-preparation)) - when an arome specific branch is used in an official cycle, the arome specific branch is tagged accordingly +### PHYEX - IAL compatibility + +Because the interfaces between the physics and the rest of the model can change, the right version of IAL to use with PHYEX must be referenced in the 'src/arome/ial\_version.json' file. + +If no IAL version is able to receive directly the PHYEX physics, an 'ext' directory can be added to hold the files that must be modified on top of the IAL version described in the 'src/arome/ial\_version.json' file. + +In addition, if some files must be excluded from the IAL compilation, they must be listed in the 'src/arome/gmkpack\_ignored\_files' file. + ## Normal workflow for a contribution developed in MESONH The developer sends its pull request on the Méso-NH repository (the physics source code is embedded in the model source code). -- GitLab