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

Add allocate guards for PFLT_DRY and co. #7

Merged
merged 1 commit into from
Sep 16, 2024
Merged

Conversation

jwallwork23
Copy link
Collaborator

I've been hitting an issue with not being able to deallocate the PFLT_DRY array in GeosUtil/pressure_mod.F90. After some debugging, it turned out that this was because it had been allocated twice but not deallocated inbetween.

Fixed by adding an IF (.NOT. ALLOCATED(PFLT_DRY)) guard and similarly for the other arrays.

@jwallwork23 jwallwork23 added the bug Something isn't working label Aug 30, 2024
@jwallwork23 jwallwork23 self-assigned this Aug 30, 2024
@jwallwork23 jwallwork23 merged commit cd91041 into develop Sep 16, 2024
@jwallwork23 jwallwork23 deleted the allocate-guard branch September 16, 2024 15:18
@jwallwork23
Copy link
Collaborator Author

@AdelekeBankole this means we can now use the develop branch of GEOS-Chem rather than the allocate_guard branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants