Skip to content

Expand and enhance native-multi-image test - #356

Open
bonachea wants to merge 10 commits into
BerkeleyLab:mainfrom
bonachea:ci-native-alloc
Open

Expand and enhance native-multi-image test#356
bonachea wants to merge 10 commits into
BerkeleyLab:mainfrom
bonachea:ci-native-alloc

Conversation

@bonachea

@bonachea bonachea commented Aug 4, 2026

Copy link
Copy Markdown
Member

Deploys numerous long-overdue improvements to native-multi-image test, see commit messages for individual improvements.

Highlights:

  1. Expands the set of feature parameterization knobs, changing all features to be on by default
  2. Adds runtime validation of many behaviors that were previously invoked but not verified
  3. Adds stand-alone (Caffeine-free) test mode and deploys into CI with GFortran-16
  4. Adds support for stand-alone test mode with NAG 7.2, and fixes a number of conformance defects it discovered
  5. Adds coverage for allocatable coarrays in the main program, Support allocatable coarrays and simplify coarray index representation lfortran/lfortran#12317
  6. Adds coverage for TEAM= arguments to image queries, fixed in [flang][MIF] Fix team_type usage in all MIF operations #205953 llvm/llvm-project#214207
  7. Adds lfortran-latest coverage for Add support for change team and end team lfortran/lfortran#12389
  8. Fixes a barrier mismatch defect in the HAVE_{MODULE,SAVE}_COARRAY dating back to 65d6173

Add testing of allocatable coarrays in the main program

Add new HAVE_ALLOC_COARRAY_CLEANUP flag to control auto-deallocation
of allocatable coarrays at scope exit

Add new HAVE_ALLOC_COARRAY_DEALLOC flag to control explicit deallocation
of allocatable coarrays

Factor old CHECK_ALLOC macro into more generic CHECK_VALL macro

Update CI settings accordingly
Add NAG stand-alone support to check for non-conforming vendor extensions,
and fix a few such issues to ensure strict standards conformance.

Add Gfortran stand-alone support, and a Makefile to drive both.

Fix a critical barrier mismatch defect in test_module_coarray and test_save_extern_coarray

Minor cosmetic cleanups
Enable HAVE_COARRAY by default, so that all multi-image features
are enabled by default with HAVE_MULTI_IMAGE.

Also deploy forward-looking HAVE_LOCK and HAVE_NOTIFY knobs that
default to HAVE_COARRAY and control the relevant type.

Adjust CI settings accordingly.
Replace/augment unchecked console output with programmatic checks
@bonachea
bonachea requested a review from ktras August 4, 2026 01:18
Coverage for:
* THIS_IMAGE(TEAM=)
* NUM_IMAGES(TEAM=)
* TEAM_NUMBER(TEAM=)
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