You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API testing with e3sm_landuse_develop suite for E3SM-Project/E3SM#6353 exposed an issue in which state_vector is being referenced without being defined when use_fates_luh is .false.:
@ckoven for non land use mode run cases, I figured we could simply make sure that state_vector = current_fates_landuse_state_vector based on the very first call at the start of the disturbance_rates subroutine:
where state_vector is only used in that subroutine behind a check on site_secondaryland_first_exceeding_min which should always be false for non land use mode per the current logic seen above.
The text was updated successfully, but these errors were encountered:
I should note that the failing test cases on perlmutter are ERS_D_Ld15.f45_g37.IELMFATES.pm-cpu_intel.elm-fates_cold_treedamage and SMS_D_Ld20.f45_f45.IELMFATES.pm-cpu_intel.elm-fates_rd.
The same issue presented itself on izumi via SMS_D_Mmpi-serial_Ld5.5x5_amazon.I2000Clm60FatesRs.izumi_nag.clm-FatesCold.
API testing with e3sm_landuse_develop suite for E3SM-Project/E3SM#6353 exposed an issue in which
state_vector
is being referenced without being defined whenuse_fates_luh
is.false.
:fates/biogeochem/EDPatchDynamicsMod.F90
Lines 472 to 474 in fd7f343
The
state_vector
is set upstream in the same subroutine only whenuse_fates_luh
is true:fates/biogeochem/EDPatchDynamicsMod.F90
Lines 324 to 328 in fd7f343
@ckoven for non land use mode run cases, I figured we could simply make sure that
state_vector = current_fates_landuse_state_vector
based on the very first call at the start of thedisturbance_rates
subroutine:fates/biogeochem/EDPatchDynamicsMod.F90
Lines 225 to 226 in fd7f343
This results in the test passing, but I wanted to double check my logic first.
There is one other case that follows this pattern in
LoggingMortality_frac
:fates/biogeochem/EDLoggingMortalityMod.F90
Lines 263 to 267 in fd7f343
where
state_vector
is only used in that subroutine behind a check onsite_secondaryland_first_exceeding_min
which should always be false for non land use mode per the current logic seen above.The text was updated successfully, but these errors were encountered: