Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error statement failing due to mismatch in kmax_upper_shell second dimension index in Report1DError #1168

Closed
glemieux opened this issue Mar 6, 2024 · 0 comments · Fixed by #1164

Comments

@glemieux
Copy link
Contributor

glemieux commented Mar 6, 2024

During a failure while running with hydro on, I'm finding that the error message isn't fully reporting due to crashing on line 4010:

write(fates_log(),*) ' ',1._r8/(1._r8/(csite_hydr%kmax_lower_shell(ilayer,1)*aroot_frac_plant) + 1._r8/(csite_hydr%kmax_upper_shell(ilayer,2)*aroot_frac_plant))

The issue is that the second dimension of kmax_upper_shell is being hardcoded to a value about the allocated size. I'm not sure if the write statement needs to have a reference to the second dimension variable (nshell) or if this is somehow related to the failure mode that caused the call of Report1DError in this instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant