Move to gfortran 15 on macos#924
Merged
sbryngelson merged 1 commit intoMFlowCode:masterfrom Jul 8, 2025
Merged
Conversation
Contributor
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Contributor
PR Code Suggestions ✨No code suggestions found for the PR. |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR updates the macOS CI runners to use GCC/GFortran 15 instead of 14, resolving an Open-MPI compatibility issue.
- Switches the Homebrew formula from
gcc@14togcc@15. - Updates the
FCenvironment variable togfortran-15.
Comments suppressed due to low confidence (1)
.github/workflows/test.yml:56
- Consider explicitly linking gcc@15 after installation (e.g.,
brew link --force gcc@15) or adding its bin directory toPATHso thatgfortran-15is reliably available in subsequent steps.
brew install coreutils python cmake fftw hdf5 gcc@15 boost open-mpi
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #924 +/- ##
=======================================
Coverage 43.68% 43.68%
=======================================
Files 68 68
Lines 18363 18363
Branches 2295 2295
=======================================
Hits 8022 8022
Misses 8949 8949
Partials 1392 1392 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
prathi-wind
pushed a commit
to prathi-wind/MFC-prathi
that referenced
this pull request
Jul 13, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
MacOS runners were using gfortran 14 with an incompatible open-mpi. This PR moves us to gnu15 and fixes a build error.
PR Type
Enhancement
Description
Upgrade gfortran from version 14 to 15 on macOS
Fix compatibility issues with open-mpi
Add missing newline at end of file
Changes diagram
Changes walkthrough 📝
test.yml
Upgrade gfortran version in CI workflow.github/workflows/test.yml
gcc@15instead ofgcc@14FCtogfortran-15