Memory leak: w3iorsmd.F90#583
Merged
Merged
Conversation
JessicaMeixner-NOAA
approved these changes
Jan 21, 2022
Collaborator
|
@aliabdolali have you run the regtests or do you need me to? |
Contributor
|
The regtests ran successfully with pre-known non-b4b cases: |
aliabdolali
approved these changes
Jan 24, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Summary
Fixes memory leaks in
w3iorsmd.F90.Description
Provide a detailed description of what this PR does.
w3iorsmd.F90, related toALLOCATEDarrays as well asOPENed file units (closing these releases associated IO buffers).DEALLOCATEandCLOSEstatements are added before a 'bail out'RETURNstatement.OPENstatement for the restart file unit,NDSR, is reproduced before the mainRETURNstatement.What bug does it fix, or what feature does it add?
Is a change of answers expected from this PR?
Please also include the following information:
Issue(s) addressed
Commit Message
w3iorsmd: fixes memory leaks
Check list
Testing
cpld_bmark_p7was run with the fix and passed.Lastly the full matrix was run for develop and fix. Matrix.comp returned only the expected differences for the non-identical cases.
Are the changes covered by regression tests? (If not, why? Do new tests need to be added?)
Have the matrix regression tests been run (if yes, please note HPC and compiler)?
Please provide the summary output of matrix.comp (matrix.Diff.txt, matrixCompFull.txt and matrixCompSummary.txt):
Please indicate the expected changes in the regression test output (Note the known list of non-identical tests).
Please provide the summary output of matrix.comp (matrix.Diff.txt, matrixCompFull.txt and matrixCompSummary.txt):