Skip to content

Bug fixes for CESM 1850 mct/nuopc validation#195

Merged
jedwards4b merged 5 commits into
ESCOMP:masterfrom
mvertens:feature/validation_fixes
Jun 1, 2021
Merged

Bug fixes for CESM 1850 mct/nuopc validation#195
jedwards4b merged 5 commits into
ESCOMP:masterfrom
mvertens:feature/validation_fixes

Conversation

@mvertens
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Collaborator Author

mvertens commented Jun 1, 2021 via email

@jedwards4b
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
korsbakken pushed a commit to korsbakken/CMEPS that referenced this pull request Oct 23, 2025
Shr file set log unit
### Description of changes
depricate shr_file_getLogUnit, add shr_log_getLogUnit

### Specific notes
require share1.0.14 for cesm

Contributors other than yourself, if any:

CDEPS Issues Fixed (include github issue #):

Are there dependencies on other component PRs (if so list):

Are changes expected to change answers (bfb, different to roundoff, more substantial):

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

Testing performed (e.g. aux_cdeps, CESM prealpha, etc): CESM prealpha cheyenne intel compared to cesm2.3.alpha10d - all consistent with baselines. 

Hashes used for testing:
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