Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix for correct awicm3 general version in choose block #1155

Merged
merged 2 commits into from
Apr 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 19 additions & 14 deletions configs/setups/awicm3/awicm3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ general:
- 'v3.1'
- 'v3.1.1'
- 'v3.1.2'
- 'v3.1.2_recom'
- 'v3.1.2-recom'
- 'v3.2'
- 'master'
- 'frontiers-xios'
Expand Down Expand Up @@ -54,7 +54,7 @@ general:
- xios
add_further_reading:
- xios/xios.env.yaml
v3.1.2_recom:
v3.1.2-recom:
major_version: v3.1
couplings:
- fesom-2.0-awicm-3.1-recom+oifs-43r3-awicm-3.1.2+xios-2.5
Expand Down Expand Up @@ -368,8 +368,8 @@ fesom:
nproc: 144
TL159_CORE2:
nproc: 72
comp_command: mkdir -p build; cd build; cmake -DOIFS_COUPLED=ON -DFESOM_COUPLED=ON ..; make install -j `nproc --all`

comp_command: mkdir -p build; cd build; cmake -DOIFS_COUPLED=ON -DFESOM_COUPLED=ON ${recom_Dflag}..; make install -j `nproc --all`

opbnd_dir: ""
tide_forcing_dir: ""
Expand Down Expand Up @@ -403,23 +403,17 @@ fesom:
oce_tra:
surf_relax_s: "${surf_relax_s}"
"v3.1":
version: "2.0${subversion}"
version: "2.0${recom_str4ver}"
namelist_dir: "${esm_namelist_dir}/fesom2/2.0/awicm3/v3.1/"
add_namelist_changes:
namelist.oce:
oce_tra:
surf_relax_s: "${surf_relax_s}"

# Remove ICMCL_INIT forcing, which is only required for standalone simulations (form v3.2 onwards contains seasonal leaf area index, veg albedo etc.)
remove_forcing_files:
- ICMCL_INIT

choose_general.version:
"2.0-awicm-3.1-recom":
subversion: "-recom"
comp_command: mkdir -p build; cd build; cmake -DOIFS_COUPLED=ON -DFESOM_COUPLED=ON -DRECOM_COUPLED=ON ..; make install -j `nproc --all`
"*":
subversion: ""

"v3.2":
version: "2.5"
namelist_dir: "${esm_namelist_dir}/fesom2/2.5/awicm3/v3.2/"
Expand Down Expand Up @@ -520,6 +514,17 @@ fesom:
grid: feom


# REcoM options
with_recom: '$(( "recom" in "${general.version}"))'
choose_fesom.with_recom:
True:
recom_str4ver: "-recom"
recom_Dflag: "-DRECOM_COUPLED=ON"
False:
recom_str4ver: ""
recom_Dflag: "-DRECOM_COUPLED=OFF"


# It is possible for the esm_tools to modify the fesom io namelist, in case you don't want to make your own copy and edit that.
# By default this option is turned off, and thus the follwing two lines are commented out.
# further_reading:
Expand Down Expand Up @@ -888,7 +893,7 @@ oasis3mct:
rstos.nc: rstos.nc
remove_config_files:
- cf



computer:
Expand Down
Loading