Skip to content

Fixes and updates in testing - #362

Merged
alperaltuntas merged 4 commits into
mainfrom
fix_MCC
Dec 4, 2026
Merged

alperaltuntas merged 4 commits into
mainfrom
fix_MCC

Conversation

@alperaltuntas

Copy link
Copy Markdown
Member

With AUTO_MASKTABLE on, all instances of a multi-instance run write and read the same MOM_auto_mask_table, which caused intermittent MCC failures at startup. This PR:

  • Sets MASKTABLE to an instance-suffixed name, such as MOM_auto_mask_table_0001, on the grids that turn AUTO_MASKTABLE on. Single-instance runs keep MOM_auto_mask_table.
  • Updates MOM6 to dev/ncar_261204, which includes Read MASKTABLE when AUTO_MASKTABLE is on NCAR/MOM6#481 so that MOM6 reads MASKTABLE.
  • Moves more aux_mom tests from t232 to t233, and removes a couple of duplicate ones.

The MOM6 update also brings in answer-changing PRs. For example, NCAR/MOM6#479 changes answers in the tests that use FPMIX. Tests whose MOM_input gains the MASKTABLE line will also fail NLCOMP.

Testing: aux_mom

Fixes #269. Replaces #348, whose approach this follows. This is because #348 sets MASKTABLE only when $AUTO_MASKTABLE is true. But buildnml looks up $ names among the case variables, and AUTO_MASKTABLE is a MOM6 parameter, so generating MOM_input stops with Cannot determine the value of the variable: $AUTO_MASKTABLE. This PR selects on $OCN_GRID instead, using the same grids that turn AUTO_MASKTABLE on.

@mnlevy1981 mnlevy1981 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look good to me, I'm especially glad we can drop testing on tx2_3v2

@mnlevy1981

Copy link
Copy Markdown
Collaborator

Are you concerned about the failing CI?

ERROR opening file /home/runner/work/MOM_interface/MOM_interface/CESM/share/src/shr_const_mod.F90 of object shr_const_mod.o: No such file or directory

shr_const_mod.F90 is now in share/src/const instead of share/src, and I suspect there will be several other similar failures as you update the build for the lightweight examples CI

@alperaltuntas

Copy link
Copy Markdown
Member Author

Are you concerned about the failing CI?

ERROR opening file /home/runner/work/MOM_interface/MOM_interface/CESM/share/src/shr_const_mod.F90 of object shr_const_mod.o: No such file or directory

shr_const_mod.F90 is now in share/src/const instead of share/src, and I suspect there will be several other similar failures as you update the build for the lightweight examples CI

Fixed. Thanks!

@alperaltuntas
alperaltuntas merged commit 3996b15 into main Dec 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MOM_auto_mask_table problem for multi-instance cases

2 participants