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

Debug version of the code fails with locstream crash #805

Open
dbarahon opened this issue Aug 22, 2023 · 0 comments
Open

Debug version of the code fails with locstream crash #805

dbarahon opened this issue Aug 22, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dbarahon
Copy link
Contributor

dbarahon commented Aug 22, 2023

When compiled with the -debug option, Krok V11.1.1 crashes when running CLDMICR_OPTION: MGB2_2M.
This has been observed with other cloud microphysics options and model versions (issue #692) as well and maybe related to MAPL issue #2114.

The model fails with this error:

forrtl: error (75): floating point exception
Image PC Routine Line Source
GEOSgcm.x 000000000EC2D49B Unknown Unknown Unknown
libpthread-2.22.s 00002B7699DD3CE0 Unknown Unknown Unknown
libMAPL.base.so 00002B768938D6B4 mapl_locstreammod 1957 MAPL_LocStreamMod.F90
GEOSgcm.x 000000000837BAB7 geos_surfacegridc 4505 GEOS_SurfaceGridComp.F90
libesmf.so 00002B767B3D2112 _ZN5ESMCI6FTable1 Unknown Unknown
libesmf.so 00002B767B3D5C5F ESMCI_FTableCallE Unknown Unknown

Totalview suggest the specific error happens on this line because OUTPUT is unassociated.

!!!!!!!!!!!!!!
if(.not.uSample) then
if (usableTRANSPOSE) then
else
where(FF>0)
!jk
OUTPUT = OUTPUT / FF
end where
endif
endif

!!!!!!!!!!!!

@dbarahon dbarahon added the bug Something isn't working label Aug 22, 2023
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

No branches or pull requests

6 participants