@pearseb has set up a new regional mom6 domain, and it inexplicably stops running very suddenly with heaps of truncations. However, we can’t seem to get the U_TRUNC and V_TRUNC files to print out.
I’ve even tried putting in an absolute path rather than relative, so my MOM_parameter_docs says
U_TRUNC_FILE = "/g/data/gb02/ab8992/rom3-rundirs/pearse/work/U_velocity_truncations"
but no files are ever produced.
Firstly
Does anyone know why MOM6 would throw a fatal saying “too many truncations” , ocean.stats says “4000 truncations”, but MOM6 doesn’t print to its U_TRUNC_FILE?
Secondly, I’m a bit stuck with debugging @pearseb 's domain. I’ve tried outputting hourly 3d velocities, temperature, salinity, and nothing looks suspicious (that I’ve found so far) on the hour before the model dies, so I do find the 4000 truncations very surprising. Has anyone seen this kind of behaviour before? Perhaps the “max truncations” error is a red herring?
Initial/boundary conditions generated by regional mom6 look fine. The model runs for exactly a day. I’ve got the mediator saving all coupling fields, and the last one that gets saved (which looks fine) is one coupling timestep before midnight. Perhaps something weird going on with surface or boundary forcing right at 2010-01-02, or some fairytale thing happening at midnight
To replicate, run the regional-mom6 demo with the following settings:
longitude_extent = [110, 160],
latitude_extent = [-60, -39.25],
date_range = ["2012-01-01", "2012-02-01"],
layer_thickness_ratio = 250,
minimum_depth = 3
and all other settings left as defaults. As per the regional template, we’re running access-om3/2026.05.004. The domain in question contains the demo since it’s the SOTS region in the Southern Ocean - it’s bizarre that this domain, with otherwise identical settings fails. Next step is to just fiddle slightly with the domain boundaries and see if it’s just some quirk. I’d like to get to the bottom of the U_TRUNC thing though as this does not seem to be the intended behaviour!!
Things we’ve ruled out:
- Obviously dodgy IC/BCs produced by rmom6
- Timestep issues (have reduced to BC/THERM=10/40s)