GEOS-ESM / GEOS-ESM/GEOSgcm_GridComp
Debug version of the code fails with locstream crash
@sdrabenh is already working on this.
Since Aug 22, 2023.
- Dominant language
- Fortran
- Stars
- 10
- Forks
- 13
- Avg merge
- 17h 35m
- Merged PRs (30d)
- 14
Description
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
!!!!!!!!!!!!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.