Skip to content

Conversation

@mgduda
Copy link
Contributor

@mgduda mgduda commented Jun 16, 2025

This PR updates the tag to 20250616-MPASv8.3 for the MMM-physics external in the src/core_atmosphere/Externals.cfg file to address an issue with .F90 files not being re-compiled to .o files if a .F90 file was modified. With the updated tag, compiling the atmosphere core, then making changes to any of the .F90 files in src/core_atmosphere/physics/physics_mmm/, then running make again (without first cleaning) leads to the modified .F90 files correctly being re-compiled.

This commit updates the tag to 20250616-MPASv8.3 for the MMM-physics external in
the src/core_atmosphere/Externals.cfg file to address an issue with .F90 files
not being re-compiled to .o files if a .F90 file was modified. With the updated
tag, compiling the atmosphere core, then making changes to any of the .F90 files
in src/core_atmosphere/physics/physics_mmm/, then running 'make' again (without
first cleaning) leads to the modified .F90 files correctly being re-compiled.
@mgduda mgduda merged commit a0b7332 into MPAS-Dev:hotfix-v8.3.1 Jun 16, 2025
mgduda added a commit that referenced this pull request Jun 18, 2025
This merge corrects two issues in the MPAS-Atmosphere model:

 * Fix a bug in the vertical interpolation of humidity for LBCs when first-guess
   levels are given in top-to-bottom order. Incorrect logic in the
   init_atm_case_lbc routine previously assumed that first-guess levels would be
   given in bottom-to-top order when attempting to vertically extrapolate to
   model levels below the lowest first-guess level, resulting in a copy of the
   vertically interpolated relative humidity at level k+1 to level k if levels
   were given in top-to-bottom order. This bug resulted in an unreasonably low
   water vapor mixing ratio field (lbc_qv) in LBC files. (PR #1335)

   NB: This bug is present in most older releases of MPAS, and it should be
   possible to cherry-pick the fix onto any branch or release based on MPAS
   v7.0 or later.

 * Fix an issue with .F90 files in the src/core_atmosphere/physics/physics_mmm/
   directory not being re-compiled by updating the MMM-physics external tag to
   acquire a new Makefile.mpas file for MMM-physics. With the updated tag,
   compiling the atmosphere core, then making changes to any of the .F90 files
   in src/core_atmosphere/physics/physics_mmm/, then running make again (without
   first cleaning) leads to the modified .F90 files being correctly re-compiled.
   (PR #1337)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants