Closed arbennett closed 3 years ago
Occasionally, when using JRDN snow layering I have run into segfaults on reference to mw_exp (only when doing scalar solutions) in snowLiqFlx.f90 on the line:
snowLiqFlx.f90
iLayerLiqFluxSnow(iLayer) = k_snow*relSaturn**mw_exp
after some debugging it turns out this loss of access to mw_exp occurs directly following the pack statement:
ixLayerDesired = pack(ixLayerState, ixSnowOnlyHyd/=integerMissing)
I have not been able to determine the exact reason for this error.
Solved in #445
Occasionally, when using JRDN snow layering I have run into segfaults on reference to mw_exp (only when doing scalar solutions) in
snowLiqFlx.f90
on the line:iLayerLiqFluxSnow(iLayer) = k_snow*relSaturn**mw_exp
after some debugging it turns out this loss of access to mw_exp occurs directly following the pack statement:
ixLayerDesired = pack(ixLayerState, ixSnowOnlyHyd/=integerMissing)
I have not been able to determine the exact reason for this error.