-
Notifications
You must be signed in to change notification settings - Fork 217
Add MPAS-O and MPAS-SI from EarthWorksOrg/EarthWorks #4807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Mpas-seaice does not run with optimization. These changes prevent compiler optimization using the gnu compilers for mpas-seaice.
The seaice file that fails with gnu optimization is identified. This file is modified to restrict non-optimization to just this file.
Changes to prevent optimization flags from being applied to ice_shortwave.F90 from mpas-seaice (PR#2) had incorrect whitespace before the build rule. This change corrects the spacing.
These modifications permit the mpas-ocean to access the gpu compiler flags necessary for a gpu build.
Catch up to development, especially to cesm3_0_beta06 version.
Some help reviewing from @jedwards4b would be appreciated! (Can't assign reviewers.) |
This is part of a collection of PRs to enable MPAS-O and MPAS-SI in CESM: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes to config_files.xml are fine, but I would prefer that the changes in Makefile be removed to https://github.com/ESMCI/ccs_config_cesm/blob/main/machines/Depends.nvhpc
Gotcha, I'll test out moving that over. |
These rules for MPAS-Ocean and MPAS-SeaIce are better handled in the Depends.* files for each compiler than in cime:CIME/Tools/Makefile.
@jedwards4b do these recent changes here and in ccs_config_cesm address your request? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thank you!
This Pull Request edits some config_*.xml files and the Makefile so
that MPAS Ocean and MPAS SeaIce can be used as components of a
model in CESM.
These components have been forked from E3SM development for use
in the EarthWorks project (EarthWorksOrg/Earthworks on GitHub).
Adding these components with CESM is part of a long-held
EarthWorks goal to share our developments to run atmosphere, ocean,
seaice, and land models on shared MPAS grids while utilizing GPUs.
Test suite: aux_cmeps
Test baseline: cesm3_0_beta06
Test namelist changes: only
model_version
reported diff. while testingTest status: bit for bit
Fixes #4806
User interface changes?: N
Update gh-pages html (Y/N)?: unsure, likely N