Skip to content
Discussion options

You must be logged in to vote

Thanks for the update! Yes, FABM now makes an early call to all "do" routines to check which routines are implemented by each biogeochemical model. As the call is made before the model domain is defined, any variable accesses that are incorrectly placed outside _BEGIN_LOOP_/_END_LOOP_ will trigger an array-out-of-bounds error. Unfortunately, we have not found a way to detect this error in the biogechemical model at compile time, and explicit detection and reporting at runtime would come with a massive performance penalty. Hence this issue will for now show up as a runtime "access violation" or similar.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@jornbr
Comment options

Answer selected by FabianGrosze
@FabianGrosze
Comment options

@jornbr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants