Skip to content

Commit

Permalink
gha: drop mpich testing on macOS for now
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-zero committed May 15, 2023
1 parent 781c844 commit ee01f00
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/testing-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
use_openmp: [OPENMP=ON]
use_smm: [SMM=blas]
blas_impl: [accelerate,openblas]
mpi_suffix: [openmpi,mpich]
mpi_suffix: [openmpi]
exclude:
- use_mpi: MPI=OFF
mpi_suffix: mpich
Expand All @@ -31,19 +31,14 @@ jobs:
fetch-depth: 0
submodules: true

- name: Install dependencies
- name: Install common dependencies
run: |
env HOMEBREW_NO_AUTO_UPDATE=1 brew install \
ninja \
openmpi
ninja
- name: Unlink OpenMPI
- name: Install ${{ matrix.mpi_suffix }}
run: |
brew unlink openmpi
- name: Install MPICH
run: |
env HOMEBREW_NO_AUTO_UPDATE=1 brew install mpich
env HOMEBREW_NO_AUTO_UPDATE=1 brew install ${{ matrix.mpi_suffix }}
- name: Configure
run: |
Expand All @@ -57,7 +52,6 @@ jobs:
-DUSE_${{ matrix.use_openmp }} \
-DUSE_${{ matrix.use_smm }} \
$([ "${{ matrix.blas_impl }}" = "openblas" ] && echo '-DCMAKE_PREFIX_PATH=/usr/local/opt/openblas') \
-DMPIEXEC_EXECUTABLE="$([ "${{ matrix.mpi_suffix }}" = "openmpi" ] && command -v /usr/local/Cellar/open-mpi/*/bin/mpiexec || command -v /usr/local/Cellar/mpich/*/bin/mpiexec)" \
-DMPIEXEC_PREFLAGS="$([ "${{ matrix.mpi_suffix }}" = "openmpi" ] && echo "-mca btl ^openib --allow-run-as-root")" \
-DTEST_MPI_RANKS=1 \
..
Expand Down

0 comments on commit ee01f00

Please sign in to comment.