Repository navigation
Quiet MAPL logging in the Moist and GWD regression cases; update Moist docs - #1574
Merged
pchakraborty merged 1 commit intoNov 10, 2026
Conversation
…t docs Each case directory gets a logging.yaml (console output only, MAPL logger at ERROR) that mapl.yaml loads with `pflogger: logging.yaml`. Without a field dictionary MAPL warns once per variable spec per rank, and its default logging writes each warning to warnings_and_errors.log under an MPI lock, which serializes the ranks (about 6 s of each 17 s Moist test). The Physics regression README documents this and records where the remaining run time goes. Moist porting notes and friendlies-to-services note updated after #1566 (BACM_1M ported, CONVECTION_TRACER == 1 dropped, line references). FILLQ2ZERO gets a TODO comment for #1570. AGENTS.md: add the MAPL3 error-macro rule.
pchakraborty
marked this pull request as ready for review
November 10, 2026 03:06
This was referenced Nov 10, 2026
mathomp4
approved these changes
Nov 10, 2026
pchakraborty
deleted the
feature/pchakrab/moist-regression-logging-and-docs
branch
November 10, 2026 14:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Logging in the regression cases
Adds a
logging.yamltogwd-ncar-saand the three Moist cases (moist-gfdl1m-gf-uw-sa,moist-gfdl1m-gf-shoc-sa,moist-bacm1m-gf-uw-sa) and loads it frommapl.yamlwith a top-levelpflogger: logging.yaml. It sends logs to the console only, sets theMAPLlogger to ERROR and keepsMAPL.profilerat INFO on the root rank.The cases run without a field dictionary, so MAPL warns once per variable spec per rank (about 5,700 warnings in a Moist case, from History
SetServices), and its default logging writes each one towarnings_and_errors.logunder an MPI lock, which serializes the ranks. perf showed this was about 6 s of each 17 s Moist test. Withlogging.yamlthe Moist tests take about 9 s, and with GEOS-ESM/MAPL#5500 about 7 s. The same file is being added to the GOCART (GEOS-ESM/GOCART#501), GEOSradiation_GridComp (GEOS-ESM/GEOSradiation_GridComp#116) and FVdycoreCubed_GridComp (GEOS-ESM/FVdycoreCubed_GridComp#445) regression cases; the PRs are independent.The Physics regression
README.mddocuments the logging setup and gets a "Run time" section: where the remaining time goes (MAPL initialize, mostly ESMF Info metadata lookups that throw C++ exceptions for missing keys; Moist's own Run is about 0.03 s).Moist documentation after #1566
mapl3-porting-notes.md: status as of 2026-11-09 (port merged, BACM_1M ported in step 11, regression data on /ford1 and in the CI image,CONVECTION_TRACER == 1not supported); earlier steps note where BACM_1M was later restored; line references updated; FILLQ2ZERO:intent(out)on theDQDTpointer means the*_FILL_*tendency exports are never written #1570 cited.mapl3-friendlies-to-services.md: BACM_1M's friendlies,CONVECTION_TRACER == 1dropped, line references updated.Process_Library.F90: a TODO comment atFILLQ2ZEROfor FILLQ2ZERO:intent(out)on theDQDTpointer means the*_FILL_*tendency exports are never written #1570 (DQDTis a pointer withintent(out), so the*_FILL_*exports are never written; same in MAPL2). Comment only.AGENTS.md: the MAPL3 error-macro rule (_RC,_STAT,_ASSERTwith a message,_RETURN(_SUCCESS);_RCcannot end a one-lineif; no!----separators).Testing
ctest -L REGRESSION(ifx Debug): 32/32 pass with the logging files in every GEOS case directory. TheProcess_Library.F90change is a comment.