Skip to content
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

Update mpas-ocean version #17

Merged
merged 3 commits into from
Oct 18, 2024
Merged

Update mpas-ocean version #17

merged 3 commits into from
Oct 18, 2024

Conversation

dazlich
Copy link
Contributor

@dazlich dazlich commented Oct 10, 2024

The mpas-ocean component is updated to a new version: branch 'vanroekel/ocean/update-nonhydro-2-15-2023' of https://github.com/vanroekel/E3SM . This new version permits GPU acceleration to be implemented to the ocean, and features a non-hydrostatic treatment of the vertical coordinate in the split-implicit time integration scheme.

The changes in mpas-seaice involve importing the entire new version. This was the simplest way to deal with the associated changed in mpas-framework.

This is part of a package of PRs for branches named update/ocean:
EarthWorksOrg /mpas-ocean PR #15
EarthWorksOrg /mpas-seaice PR #17
EarthWorksOrg /mpas-framework PR #10
EarthWorksOrg /CMEPS PR #12
EarthWorksOrg/EarthWorks PR #75 (incorporates above)

To clone this version of Earthworks use the update/ocean branch.

    This is an update of MPAS-Seaice necessary to keep up with
    the changes to mpas-framework that are part of the update
    of MPAS-Ocean to a new version for GPU acceleration.
@dazlich
Copy link
Contributor Author

dazlich commented Oct 10, 2024

These associated PRs need to be updated
EarthWorksOrg /mpas-ocean PR #15
EarthWorksOrg /mpas-seaice PR #17
EarthWorksOrg /mpas-framework PR #10
EarthWorksOrg /CMEPS PR #12
EarthWorksOrg/EarthWorks PR #75 (incorporates above)

@dazlich
Copy link
Contributor Author

dazlich commented Oct 10, 2024

Also, I have merge issues to deal with with EarthWorksOrg /mpas-ocean PR #15

@dazlich
Copy link
Contributor Author

dazlich commented Oct 10, 2024

One note on this seaice port - it required a shared constant that is in the E3SM shr_const_mod.F90 but not in the CESM/EarthWorks version. I have added the declaration for it:

real(kind=dbl_kind),parameter :: SHR_CONST_MWC     = 12.0107_dbl_kind      ! molecular weight carbon

in mpas-seaice/src/column/constants/cesm/ice_constants_colpkg.F90.

Do we want this declaration to get into the share/src/shr_const_mod.F90 file?

@gdicker1
Copy link
Contributor

Do we want this declaration to get into the share/src/shr_const_mod.F90 file?

That would be reasonable, but I have two thoughts that conflict and make me think that the code in this PR is good enough.

  • The easiest thing would be to fork the CESM_share repo under EarthWorksOrg and add this change, but we're trying to be closer in synch with CESM. So I don't think another fork would be good right now.
  • I also don't think it would be worthwhile to slow this PR down while we wait for a PR to the ESCOMP/CESM_share repo to be accepted. (Admittedly, this is a super small change that could be quick).

I think we could "earmark" this in an Issue and delay the issue of adding this to CESM_share.

@dazlich
Copy link
Contributor Author

dazlich commented Oct 15, 2024 via email

Two entries in the prescribed_ice section were
accidentally deleted and that broke the prescribed
mode for seaice. They have been restored.
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.

2 participants