Skip to content

Porting GWD to mapl3#1081

Merged
pchakraborty merged 15 commits intorelease/MAPL-v3from
feature/pchakrab/gwd-to-mapl3
May 23, 2025
Merged

Porting GWD to mapl3#1081
pchakraborty merged 15 commits intorelease/MAPL-v3from
feature/pchakrab/gwd-to-mapl3

Conversation

@pchakraborty
Copy link
Collaborator

@pchakraborty pchakraborty commented Mar 30, 2025

Ported GWD to MAPL3

NOTE: A memory corruption is happening somewhere in GWD. The lats input (intent(in)) of gw_convect::gw_beres_init is getting corrupted whenever desc%k is allocated. The temporary solution is to move the allocation of desc%k after the code block that uses lats. This temporary solution seems to be working for the Intel compiler, may get different mileage with other compilers.

Created issue #1106
Created issue #1107

@pchakraborty pchakraborty changed the title DO NOT MERGE - Porting GWD to mapl3 Porting GWD to mapl3 May 20, 2025
There is a memory corruption happening somewhere in GWD. The 'lats' input of gw_beres_init is getting corrupted whenever 'desc%k' is allocated. The temporary solution is to move the allocation of 'desc%k' after the code block that uses 'lats'
@pchakraborty pchakraborty marked this pull request as ready for review May 23, 2025 13:24
@pchakraborty pchakraborty requested review from a team as code owners May 23, 2025 13:24
@pchakraborty pchakraborty added the 0 diff The changes in this pull request have verified to be zero-diff with the target branch. label May 23, 2025
bena-nasa
bena-nasa previously approved these changes May 23, 2025
tclune
tclune previously approved these changes May 23, 2025
Copy link
Collaborator

@tclune tclune left a comment

Choose a reason for hiding this comment

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

The main thing that catches my eye is the USE statements.

Please open another ticket (maybe already exists) that would target the ability to replace all USE MAPL* and USE ESMF with a single USE MAPL3.

@pchakraborty
Copy link
Collaborator Author

The main thing that catches my eye is the USE statements.

Please open another ticket (maybe already exists) that would target the ability to replace all USE MAPL* and USE ESMF with a single USE MAPL3.

Create #1107

@mathomp4 mathomp4 dismissed stale reviews from tclune and bena-nasa via 7358335 May 23, 2025 17:04
@pchakraborty pchakraborty merged commit 61b129d into release/MAPL-v3 May 23, 2025
7 checks passed
@pchakraborty pchakraborty deleted the feature/pchakrab/gwd-to-mapl3 branch May 23, 2025 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0 diff The changes in this pull request have verified to be zero-diff with the target branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants