-
Notifications
You must be signed in to change notification settings - Fork 64
Description
Currently, RECOM is programmed in such a way that switching between different configs e.g. (https://github.com/FESOM/fesom2/tree/main/config/bin_2p1z1d vs https://github.com/FESOM/fesom2/tree/main/config/bin_2p3z2d) requires a preprocessing flag to read from the subfolders. This is not a good way of doing things. Ideally we do our runs with the namelists from the main config folder, which are kept up to date and tested with github CI tests.
I would suggest we keep only one namelist.recom, and we enter the current selection of proprocessing flags as switches to be selected there. Then we only need that one file
This block shall not be edited by model uses locally, and in fact can be removed, once the recom settings can be selected from namelist.recom.
Lines 249 to 251 in 9240b3f
| if(${RECOM_COUPLED}) | |
| target_compile_definitions(${PROJECT_NAME} PRIVATE __recom USE_PRECISION=2 __3Zoo2Det __coccos)# __usetp) | |
| endif() |
And additional advantage is, that you don't need to recompile, to select the recom config.