Skip to content

Fix -DCAF_IMPORT_TEAM_CONSTANTS and tweak use statements#346

Merged
bonachea merged 3 commits into
BerkeleyLab:mainfrom
bonachea:tweak-uses
Jul 16, 2026
Merged

Fix -DCAF_IMPORT_TEAM_CONSTANTS and tweak use statements#346
bonachea merged 3 commits into
BerkeleyLab:mainfrom
bonachea:tweak-uses

Conversation

@bonachea

@bonachea bonachea commented Jul 16, 2026

Copy link
Copy Markdown
Member

A semi-urgent fix for a defect in the -DCAF_IMPORT_TEAM_CONSTANTS setting, discovered by LFortran.

Also, tweak all intrinsic module uses to explicitly require intrinsic

bonachea added 3 commits July 15, 2026 22:15
CAF_IMPORT_TEAM_CONSTANTS was previously importing symbols named CURRENT_TEAM
and INITIAL_TEAM, which conflict with variables declared in the
prif_private_s submodule.

Discovered by LFortran
…intrinsic

This is best practice for Fortran programming, and ensures lack of
accidental module name capture.

@rouson rouson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bonachea bonachea merged commit 63e2981 into BerkeleyLab:main Jul 16, 2026
54 checks passed
@bonachea bonachea deleted the tweak-uses branch July 16, 2026 06:35
@bonachea bonachea changed the title [NO REVIEW]: Fix -DCAF_IMPORT_TEAM_CONSTANTS and tweak use statements Fix -DCAF_IMPORT_TEAM_CONSTANTS and tweak use statements Jul 16, 2026
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.

2 participants