Repository navigation
Bug fix for constituents e2e tests / add memory-sanitizer test in GH actions - #795
Merged
climbfuji merged 6 commits intoNov 20, 2026
Conversation
climbfuji
commented
Nov 3, 2026
| !----------------------------------------------------------------- | ||
| ! once and call ccpp_register_constituents per instance. | ||
| ! host_consts must outlive the constituent tables, which keep | ||
| ! pointers into it -- hence the deallocate after teardown. |
Collaborator
Author
There was a problem hiding this comment.
The deallocate is and remains at line 252.
…mentation fault detected on NRL's Atlantis system with LLVM 23.1.2
climbfuji
force-pushed
the
bugfix/multiinstance_constituents_host_consts
branch
from
November 3, 2026 17:21
065591e to
238475c
Compare
…c_constituents before calling ccpp_final
…es ccpp-framework owned constituent properties beore tearing down the constituents
climbfuji
requested review from
dustinswales,
nusbaume,
peverwhee and
scrasmussen
November 4, 2026 16:43
peverwhee
approved these changes
Nov 5, 2026
Collaborator
Author
|
Any chance for a review from NOAA/DTC @dustinswales @scrasmussen? Thanks! |
Collaborator
Author
|
PR opened two weeks ago, reminder for reviews sent last week. Merging this with just @peverwhee's approval as agreed upon in the CCPP framework developer meetings a while back. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Four additions, committed one after the other:
gfortran-12. This test is expected to fail initially (fix in step 2) due to a bug in the multi-instance advection test setup. Commit e8134e6 (see below - end-to-end-test-asan fails).ccpp_deallocate_dynamic_constituentsandccpp_finalin all tests that use constituents. With steps 2 and 3, the CI tests pass (commit 8f72632).The changes in this pull request do not modify the current implementation of constituents in capgen v1. This work is deferred, see #797, section "Proposed solution". However, the bug fixes in this PR are required to unblock an update to LLVM 23.1.2 on one of NRL's HPCs.
Fixes #796
Working toward #797
Testing: