ndep forcing incorrect when receiving ndep from CAM (starting with ctsm5.1.dev002) #1233
Labels
bug
something is working incorrectly
priority: high
High priority to fix/merge soon, e.g., because it is a problem in important configurations
science
Enhancement to or bug impacting science
Brief summary of bug
There is a bug in ndep forcing (
forc_ndep_grc
) when receiving ndep from CAM (ndep_from_cpl true). This first appears in ctsm5.1.dev002.General bug information
CTSM version you are using: ctsm5.1.dev002 and later
Does this bug cause significantly incorrect results in the model's science? Yes
Configurations affected: Any configurations that get ndep from coupler. My guess is that we missed this bug because we don't have any such configurations in our test suite, maybe because this isn't possible in I compsets?
Details of bug
This showed up in CESM prealpha testing as a failure in
ERP_Ld3.f09_f09_mg17.FCfireHIST.cheyenne_intel.cam-outfrq1d
: the base and restart runs differed.@fischer-ncar tracked this down to ctsm5.1.dev002, and I have tracked it down to a problem when a loop was split: a local index variable was not set in the second loop. We need this diff:
and maybe similar in the other caps.
@slevisconsulting FYI. I'll fix this.
The text was updated successfully, but these errors were encountered: