Skip to content

Resolve include loop in ParallelDispatch.h and datatypes.h - #603

Merged
aliemen merged 1 commit into
masterfrom
602-fix-circular-include-in-paralleldispatch
Sep 18, 2026
Merged

aliemen merged 1 commit into
masterfrom
602-fix-circular-include-in-paralleldispatch

Conversation

@aliemen

@aliemen aliemen commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

closes #602

This PR removes #include "Ippl.h" from ParallelDispatch.h and explicitly adds it to datatypes.h. This breaks the include order explained in the attached issue. The "threadSafe" variable is now queried directly without Env. The rest should be clang-format noise.

…ompile check as a unit test for this specific include order
@aliemen
aliemen requested a review from aaadelmann September 17, 2026 11:23
@aliemen aliemen self-assigned this Sep 17, 2026
@aliemen aliemen added bug Something isn't working cleanup labels Sep 17, 2026
@aliemen

aliemen commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator Author

cscs-ci run cscs-ci-mi300

@aliemen

aliemen commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator Author

Tested OPALX-project/OPALX#557 against this branch on Daint: everything (unit and regression tests) worked, even the temporarily deactivated 2.5D unit tests.

@aliemen
aliemen enabled auto-merge September 18, 2026 10:02
@aliemen
aliemen added this pull request to the merge queue Sep 18, 2026
Merged via the queue into master with commit a7e5057 Sep 18, 2026
12 checks passed
@aliemen
aliemen deleted the 602-fix-circular-include-in-paralleldispatch branch September 18, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cleanup gitlab-mirror

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Circular include in ParallelDispatch.h can cause include order compiler failure in OPALX

2 participants