Skip to content

Commit d681fe0

Browse files
authored
Fix fortran mpi module in mac CI (#165)
1 parent 399ec00 commit d681fe0

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/dependencies/dependencies_mac.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,8 @@
88
set -eu -o pipefail
99

1010
brew update
11-
brew install gfortran || true
11+
brew install gcc@15 || true
1212
brew install libomp || true
13-
brew install open-mpi || true
13+
brew install --cc=gcc-15 open-mpi --build-from-source || true
1414
brew install ccache || true
1515

16-
# verify installation
17-
gfortran-14 --version
18-
otool -L $(which gfortran-14)

.github/workflows/macos.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88
jobs:
99
# Build all tutorials
1010
tests-macos:
11-
name: [email protected] GFortran@14.1 [tutorials]
11+
name: [email protected] GFortran@15.1 [tutorials]
1212
runs-on: macos-latest
1313
steps:
1414
- uses: actions/checkout@v4
@@ -28,7 +28,7 @@ jobs:
2828
-DAMReX_FORTRAN_INTERFACES=ON \
2929
-DAMReX_EB=ON \
3030
-DAMReX_PARTICLES=ON \
31-
-DCMAKE_Fortran_COMPILER=$(which gfortran-14) \
31+
-DCMAKE_Fortran_COMPILER=$(which gfortran-15) \
3232
-DCMAKE_CXX_COMPILER_LAUNCHER=$(which ccache)
3333
cmake --build build --parallel 2
3434
@@ -40,7 +40,7 @@ jobs:
4040
-DAMReX_FORTRAN_INTERFACES=ON \
4141
-DAMReX_EB=ON \
4242
-DAMReX_PARTICLES=ON \
43-
-DCMAKE_Fortran_COMPILER=$(which gfortran-14) \
43+
-DCMAKE_Fortran_COMPILER=$(which gfortran-15) \
4444
-DCMAKE_CXX_COMPILER_LAUNCHER=$(which ccache)
4545
cmake --build build --parallel 2
4646

0 commit comments

Comments
 (0)