MPAS-Dev / MPAS-Model

Repository for MPAS models and shared framework releases.
235 stars 312 forks source link

SIGFPE: Floating-point exception in Thompson microphysics v8.0.1 when DEBUG=true #1150

Closed mgduda closed 5 months ago

mgduda commented 5 months ago

When MPAS v8.0.1 is compiled with DEBUG=true and when running with the Thompson microphysics scheme (part of the convection_permitting suite), the model stops with a floating-point exception on line 1860 of module_mp_thompson.F.

mgduda commented 5 months ago

This issue was pointed out in this forum post: https://forum.mmm.ucar.edu/threads/floating-point-exception-erroneous-arithmetic-operation-when-running-with-thompson-microphysics-and-debug-true.16159/#post-40111 .

As in the forum thread, it appears that the mvd_r variable is used without first being initialized at some k levels.

mgduda commented 5 months ago

Closed by PR #1152.