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

Bug fixes for CESM 1850 mct/nuopc validation #195

Merged
merged 5 commits into from
Jun 1, 2021

Conversation

mvertens
Copy link
Collaborator

@mvertens mvertens commented May 20, 2021

Description of changes

Bug fixes for CESM 1850 mct/nuopc validation - including memory leak in med_diag_mod.F90.

Specific notes

These are changes needed to the budgets and run sequence needed that were needed to fix problems in the B1850 mct/nuopc validation.

Contributors other than yourself, if any: @jedwards4b

CMEPS Issues Fixed: #190 #197

Are changes expected to change answers?

  • bit for bit

Any User Interface Changes (namelist or namelist defaults changes)?

  • No

Testing performed if application target is CESM:(either UFS-S2S or CESM testing is required):
5 year B1850 1 year simulation was run

Hashes used for testing:

@mvertens
Copy link
Collaborator Author

@uturuncoglu @DeniseWorthen - this PR should not effect the UFS configuration. @jedwards4b is on vacation - so if you both could review and hopefully accept this - I will merge.

@mvertens mvertens self-assigned this May 20, 2021
@mvertens mvertens requested a review from jedwards4b June 1, 2021 01:20
@mvertens mvertens assigned jedwards4b and unassigned mvertens Jun 1, 2021
@mvertens
Copy link
Collaborator Author

mvertens commented Jun 1, 2021

@DeniseWorthen - are you okay with this PR? If so can you please sign off on it.

Copy link
Collaborator

@DeniseWorthen DeniseWorthen left a comment

Choose a reason for hiding this comment

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

No impact to ufs-weather.

Copy link
Collaborator

@jedwards4b jedwards4b left a comment

Choose a reason for hiding this comment

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

I removed a debug print statement.

@jedwards4b
Copy link
Collaborator

@mvertens why did the change you make fix a memory leak? Was it an issue associated with a compiler bug or did you find a bug in cmeps?

@mvertens
Copy link
Collaborator Author

mvertens commented Jun 1, 2021 via email

@jedwards4b
Copy link
Collaborator

@mvertens can you point out the bug fix? It's hard to spot given all of the format changes in med_diag_mod.F90

@mvertens
Copy link
Collaborator Author

mvertens commented Jun 1, 2021

@jedwards4b - its the addition of 2 new deallocate statements (for afrac and sfrac). Also - its removing the embedded routines with multiple level of contains and making them separate routines as part of this.

@jedwards4b
Copy link
Collaborator

great, thanks for clarifying

@jedwards4b jedwards4b merged commit e67f3de into ESCOMP:master Jun 1, 2021
@mvertens mvertens deleted the feature/validation_fixes branch September 10, 2021 18:37
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.

budget counter is 1 too many for daily, month, annual upon startup
4 participants