Skip to content

Upgrade from 4.0.4_CO9_tides to 4.2.0

Ryan D. Patmore edited this page Mar 4, 2024 · 17 revisions

NEMO 4.2.1 upgrade

This page describes the process of upgrading from NEMO 4.0.4_CO9_tides to NEMO 4.2.1. The focus is on upgrading P2.0 and additional changes could be required for other revisions.

Compiling

tested with ARCHER2

  • Compiler: Cray
  • XIOS: version 2.5

NEMO 4.2.1 requires key_xios3 for compilation with XIOS3. Though this does compile, the CO10 configuration is yet to run with XIOS3.

Namelist changes

Renaming

  • nn_euler > ln_lst_euler
  • rn_rdt > rn Dt
  • nn_baro > nn_e
  • clname(x) > sn_tide_cnames(x)
  • rdttideramp > rn_tide_ramp_dt
  • dn_love_number > rn_tide_gamma (added by DB to sbctide.F90, now in main code in tide_mod.F90)

Removed

No longer in 4.2.0

  • ln_COARE_3p5
  • ln_bdytime_conj
  • ln_ctl
  • nn_print
  • rn_vfac
  • ls_rst_eos - removed from MY_SRC

4.0.4 - 4.0.4_CO9_tides - 4.2.0

There are number of discrepancies between the CO9_tides branch and the central code. These have been mapped and MY_SRC updated accordingly to the CO10 branch.

WAD

There were persistant issues using WAD at 4.2.1 and we finally resolved this. nn_vvl_interp = 2 is the new default at 4.2 and this was causing blow-up that could only be resolved otherwise by setting rn_wdmin1 > 1.0. Switching to nn_vvl_interp = 0 returns the code to its previous configuration and the simulation completes without issue.