Skip to content

Commit 41bbea8

Browse files
committed
Fix fortran mpi module in mac CI
1 parent 399ec00 commit 41bbea8

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/dependencies/dependencies_mac.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,16 @@ set -eu -o pipefail
99

1010
brew update
1111
brew install gfortran || true
12-
brew install libomp || true
13-
brew install open-mpi || true
14-
brew install ccache || true
1512

1613
# verify installation
1714
gfortran-14 --version
1815
otool -L $(which gfortran-14)
16+
17+
# make sure to install Open MPI with the correct Fortran compiler
18+
export FC=$(which gfortran-14)
19+
export F77=$FC
20+
export F90=$FC
21+
22+
brew install libomp || true
23+
brew install open-mpi || true
24+
brew install ccache || true

0 commit comments

Comments
 (0)