Skip to content

v5: Fix NAG build on macOS - #619

Merged
mathomp4 merged 5 commits into
developfrom
feature/v5-macos-nag
Dec 2, 2026
Merged

mathomp4 merged 5 commits into
developfrom
feature/v5-macos-nag

Conversation

@mathomp4

@mathomp4 mathomp4 commented Dec 2, 2026

Copy link
Copy Markdown
Member

Replaces #609 after renaming the v5 branch from feature/wjiang/macos_nag to feature/v5-macos-nag.

  • Add MPI_Gather, MPI_Isend, MPI_Alltoallv to -wmismatch list
  • Add -maxcontin=1000 (allow >255 continuation lines like other compilers)
  • On APPLE, unset CMAKE_Fortran_FRAMEWORK_SEARCH_FLAG since nagfor rejects -F
  • On APPLE, pass -Wc,-ffp-exception-behavior=maytrap to avoid spurious FP exceptions from clang
  • On APPLE, link a constructor to initialize the NAG OpenMP runtime at load time
  • Add 5.28.0 changelog entry

weiyuan-jiang and others added 5 commits November 5, 2026 21:14
- Add MPI_Gather, MPI_Isend, MPI_Alltoallv to -wmismatch list
- Add -maxcontin=1000 (allow >255 continuation lines like other compilers)
- On APPLE, unset CMAKE_Fortran_FRAMEWORK_SEARCH_FLAG since nagfor rejects -F
@mathomp4
mathomp4 requested a review from a team as a code owner December 2, 2026 14:12
@mathomp4 mathomp4 changed the title Fix NAG build on macOS v5: Fix NAG build on macOS Dec 2, 2026
@mathomp4 mathomp4 added the 0 diff The changes in this pull request have verified to be zero-diff with the target branch. label Dec 2, 2026
@mathomp4
mathomp4 merged commit c7ced06 into develop Dec 2, 2026
28 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0 diff The changes in this pull request have verified to be zero-diff with the target branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants