Skip to content

v4: Fix NAG build on macOS - #617

Closed
mathomp4 wants to merge 3 commits into
release/v4from
feature/v4-macos-nag
Closed

mathomp4 wants to merge 3 commits into
release/v4from
feature/v4-macos-nag

Conversation

@mathomp4

@mathomp4 mathomp4 commented Dec 2, 2026

Copy link
Copy Markdown
Member

Port of #609 to release/v4.

  • 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 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 12:44
@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 closed this Dec 2, 2026
@mathomp4
mathomp4 deleted the feature/v4-macos-nag branch December 2, 2026 14:11
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