-
Notifications
You must be signed in to change notification settings - Fork 33
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
[WIP] Fix remaining memory leaks in HEMCO #255
base: main
Are you sure you want to change the base?
Conversation
…piling The MSG variable was defined twice in HCOX_TOMAS_Jeagle_Run. The second occurrence has been removed, along with an unused ERR variable. Signed-off-by: Melissa Sulprizio <[email protected]>
There were an excessive amount of trailing whitespaces in hcox_tomas_jeagle_mod.F90 that affected readability of the file. These have now been removed. Signed-off-by: Melissa Sulprizio <[email protected]>
Resolved conflicts in: CHANGELOG.md src/Extensions/hcox_tomas_jeagle_mod.F90 Signed-off-by: Melissa Sulprizio <[email protected]>
…MCO 3.7.x in vertical regridding updates. Signed-off-by: Haipeng Lin <[email protected]>
Signed-off-by: Melissa Sulprizio <[email protected]>
TOMAS species SF6 has conflicts with sulfur hexafluoride (SF6) used in the TransportTracers simulation. To avoid conflicts, we rename all of the TOMAS species for bins 1-9 to use 01-09. This is done for all TOMAS species (NK*, SF*, SS*, ECOB*, ECIL*, OCOB*, OCIL*, AW*, and DUST*). Signed-off-by: Melissa Sulprizio <[email protected]>
Signed-off-by: Melissa Sulprizio <[email protected]>
…v_cesm' of github.com:jimmielin/HEMCO-1 into dev/3.8.0 Signed-off-by: Melissa Sulprizio <[email protected]>
src/Core/hco_arr_mod.F90 - Set Arr and ArrVec to null before exiting cleanup routines src/Core/hco_tidx_mod.F90 - Set individual fields of AlltIDx to NULL after deallocating - Update comments Signed-off-by: Bob Yantosca <[email protected]>
@msulprizio @lizziel @christophkeller: I now know where the memory leak is being incurred. In HEMCO/src/Core/hco_config_mod.F90 Lines 945 to 1050 in ca9b187
The I tried to replace I just wanted to note this. It might be going deep into the rabbit hole to try to undo this memory leak, so I will probably put this off for the time being. If any of you have suggestions then let me know. Thanks! |
This issue has been automatically marked as stale because it has not had recent activity. If there are no updates within 7 days it will be closed. You can add the "never stale" tag to prevent the Stale bot from closing this issue. |
Name and Institution (Required)
Name: Bob Yantosca
Institution: Harvard + GCST
Confirm you have reviewed the following documentation
Describe the update
This is a placeholder PR and should not yet be merged. I have made the base branch
main
but will change it later.This is a companion PR to geoschem/geos-chem#2102. Configuring GEOS-Chem with
-DSANITIZE=y
has revealed the following memory leaks in GEOS-Chem and HEMCO:Leak 1 is in HEMCO. We are still investigating.
The other leaks are being addressed in geoschem/geos-chem#2104.
Tagging @msulprizio @lizziel
Expected changes
This will be a zero-diff update that will remove memory leaks. It will not change results.
Reference(s)
N/A
Related Github Issue(s)