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

GenericCplComp.F90 doest not deallocate tilemask properly #1454

Closed
atrayano opened this issue Mar 24, 2022 · 0 comments
Closed

GenericCplComp.F90 doest not deallocate tilemask properly #1454

atrayano opened this issue Mar 24, 2022 · 0 comments
Assignees

Comments

@atrayano
Copy link
Contributor

@sdrabenh reported a crash when outputting monthly averages from 'tile' collection.

29593 NOT using buffer I/O for file: geosgcm_landice_checkpoint
29594 forrtl: severe (173): A pointer passed to DEALLOCATE points to an object that cannot be deallocated
29595 Image PC Routine Line Source·············
29596 GEOSgcm.x 00000000034090D1 Unknown Unknown Unknown
29597 libMAPL.generic.s 00002AAAB633A755 mapl_genericcplco 1535 GenericCplComp.F90
29598 libesmf.so 00002AAABB6969E4 _ZN5ESMCI6FTable1 Unknown Unknown

The problem is the tilemask is allocated conditionally using MAPL_Shmem or on the heap, but not deallocated accordingly

@atrayano atrayano self-assigned this Mar 24, 2022
mathomp4 added a commit that referenced this issue Mar 24, 2022
…allocate

Fixes #1454. Now MAPL_Shmem memory is deallocated properly
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

No branches or pull requests

1 participant