Repository navigation
native-multi-image: Add coverage for IMAGE_STATUS, FAILED_IMAGES, STOPPED_IMAGES - #396
Merged
Merged
Conversation
LOCK_TYPE, NOTIFY_TYPE and (until recently) EVENT_TYPE are not yet PRIF compliant in flang, but the corresponding multi-image features are also not yet implemented in those flang versions, so this has no practical effect. Testing for things we know are not yet properly implemented just generates scary-looking error messages that might confuse end users, with no real benefit.
…PPED_IMAGES Also define all the image query knobs together
bonachea
force-pushed
the
native-image-status
branch
from
December 1, 2026 22:52
371816c to
4a3a8bf
Compare
ktras
requested changes
Dec 2, 2026
ktras
left a comment
Collaborator
There was a problem hiding this comment.
I have one nitpick on a comment and some feedback on the macro setup that may or may not be important to change. Other than that, looks great!
bonachea
commented
Dec 2, 2026
bonachea
commented
Dec 2, 2026
bonachea
commented
Dec 2, 2026
* Make the new _TEAM defines depend on the feature instead of HAVE_IMAGE_QUERY
* Remove the duplicate zero-argument tests of {STOPPED,FAILED}_IMAGES inside the CHANGE TEAM
Co-authored-by: Katherine Rasmussen <krasmussen@lbl.gov>
Member
Author
|
@ktras Thanks for your careful review! I've applied your suggestions and this is ready for re-review while testing completes. |
ktras
approved these changes
Dec 2, 2026
ktras
left a comment
Collaborator
There was a problem hiding this comment.
LGTM but there seems to be a couple CI failures due to server issues.
An apparent CCE defect in the implementation of event coarray allocation was causing intermittent hangs within the subtest: "Testing event post / event wait (allocatable array)..." Based on a debugger it appears to be caused by a race between default initialization of event_type within coarray allocation on image 1, and event posts from other images. The standard mandates synchronization after ALLOCATE and before any subsequent statement so there should be no race possible here, but CCE does not appear to correctly enforce that. Adding a barrier (that should be redundant/superfluous) is sufficient to workaround the defect in testing.
bonachea
force-pushed
the
native-image-status
branch
from
December 2, 2026 21:51
76ef39b to
7abc4dd
Compare
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.
No description provided.