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
We do some reading/writing of restart variables using a loop that spans:
numpft x nlevsclass x n_term_mort_types
In non SP runs, we most likely allocate enough memory because we typically run with more cohorts per gridcell than the product of these three terms, but in SP mode that is not likely true.
We do some reading/writing of restart variables using a loop that spans:
numpft x nlevsclass x n_term_mort_types
In non SP runs, we most likely allocate enough memory because we typically run with more cohorts per gridcell than the product of these three terms, but in SP mode that is not likely true.
Here is an example of traversing that loop.
https://github.com/NGEET/fates/blob/sci.1.72.6_api.34.0.0/main/FatesRestartInterfaceMod.F90#L2199-L2217
I believe the solution is to increase the allocation here by adding in n_term_mort_types to the product with nlevsclass and numpft:
https://github.com/NGEET/fates/blob/sci.1.72.6_api.34.0.0/main/FatesInterfaceMod.F90#L879-L880
to be:
I'm testing now.
The text was updated successfully, but these errors were encountered: