Skip to content

Increase num_outputs from 6 to 7 in ISSM GridComp - #1595

Open
agstub wants to merge 1 commit into
developfrom
feature/agstub/issm-patch
Open

agstub wants to merge 1 commit into
developfrom
feature/agstub/issm-patch

Conversation

@agstub

@agstub agstub commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

This patch expands the allocation size of ISSM outputs to match the output size in the new ISSM module in EMSA_env (see here). This will fix the LDAS ISSM test; without this, the C++ side of the interface assumes a larger output size and will write past the end of the pointer and silently corrupt memory. The functionality of the expanded output size is introduced in a separate, larger PR (#1553). Introducing future safety/consistency measures for allocation sizes on the Fortran/C++ sides of the interface is now on the project to-do list (GEOS-ISSM Integration).

@gmao-rreichle @weiyuan-jiang @mathomp4 @lcandre2

This patch expands the allocation size of ISSM outputs to match the output size in the new ISSM module in EMSA_env. This will fix the LDAS test; without this, the C++ side of the interface assumes a larger output size and will write past the end of the pointer and silently corrupt memory.
@agstub agstub self-assigned this Dec 4, 2026
@agstub agstub added the 0 diff trivial The changes in this pull request are trivially zero-diff (documentation, build failure, &c.) label Dec 4, 2026
@agstub agstub moved this from Todo to In progress in GEOS-ISSM Integration Dec 4, 2026
@agstub
agstub marked this pull request as ready for review December 4, 2026 01:50
@agstub
agstub requested a review from a team as a code owner December 4, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0 diff trivial The changes in this pull request are trivially zero-diff (documentation, build failure, &c.)

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

1 participant