Skip to content

Smoth growth#1

Merged
ForModLabUHel merged 28 commits intomasterfrom
smoth_growth
Apr 8, 2019
Merged

Smoth growth#1
ForModLabUHel merged 28 commits intomasterfrom
smoth_growth

Conversation

@ForModLabUHel
Copy link
Copy Markdown
Owner

No description provided.

@ForModLabUHel ForModLabUHel merged commit 9ace0f4 into master Apr 8, 2019
@ForModLabUHel ForModLabUHel deleted the smoth_growth branch April 8, 2019 14:36
ForModLabUHel pushed a commit that referenced this pull request May 11, 2020
ForModLabUHel pushed a commit that referenced this pull request Feb 25, 2021
Trying to update my clone of Rprebasso
ForModLabUHel pushed a commit that referenced this pull request Apr 20, 2021
olli4 pushed a commit to hamk-uas/Rprebasso-WebR that referenced this pull request Apr 10, 2026
…tions

multiPrebas passed non-contiguous array sections (e.g.
multiOut(i,1:ny,:,1:nl,:)) directly to prebas() / initBiomasses(),
which expect explicit-shape (contiguous) dummy arguments.
gfortran creates copy-in/copy-out temporaries automatically, but
flang (used by Emscripten/WebR) does not, causing silent data
corruption in the WASM build.

Replace all non-contiguous section passing with explicit BLOCK-scoped
automatic arrays that are copied in before the call and copied out
after.  This is portable across all Fortran compilers.

Closes: issues/001-wasm-array-section-stride-bug.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant