GEOS-ESM / GEOS-ESM/GEOSgcm_GridComp

Debug version of the code fails with locstream crash

Open
#805 0 comments 0 reactions 5 assignees View on GitHub

@sdrabenh is already working on this.

Since Aug 22, 2023.

bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.