File tree 1 file changed +5
-11
lines changed
1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change 20
20
use_openmp : [OPENMP=ON]
21
21
use_smm : [SMM=blas]
22
22
blas_impl : [accelerate,openblas]
23
- mpi_suffix : [openmpi,mpich ]
23
+ mpi_suffix : [openmpi]
24
24
exclude :
25
25
- use_mpi : MPI=OFF
26
26
mpi_suffix : mpich
@@ -31,19 +31,14 @@ jobs:
31
31
fetch-depth : 0
32
32
submodules : true
33
33
34
- - name : Install dependencies
34
+ - name : Install common dependencies
35
35
run : |
36
36
env HOMEBREW_NO_AUTO_UPDATE=1 brew install \
37
- ninja \
38
- openmpi
37
+ ninja
39
38
40
- - name : Unlink OpenMPI
39
+ - name : Install ${{ matrix.mpi_suffix }}
41
40
run : |
42
- brew unlink openmpi
43
-
44
- - name : Install MPICH
45
- run : |
46
- env HOMEBREW_NO_AUTO_UPDATE=1 brew install mpich
41
+ env HOMEBREW_NO_AUTO_UPDATE=1 brew install ${{ matrix.mpi_suffix }}
47
42
48
43
- name : Configure
49
44
run : |
57
52
-DUSE_${{ matrix.use_openmp }} \
58
53
-DUSE_${{ matrix.use_smm }} \
59
54
$([ "${{ matrix.blas_impl }}" = "openblas" ] && echo '-DCMAKE_PREFIX_PATH=/usr/local/opt/openblas') \
60
- -DMPIEXEC_EXECUTABLE="$([ "${{ matrix.mpi_suffix }}" = "openmpi" ] && command -v /usr/local/Cellar/open-mpi/*/bin/mpiexec || command -v /usr/local/Cellar/mpich/*/bin/mpiexec)" \
61
55
-DMPIEXEC_PREFLAGS="$([ "${{ matrix.mpi_suffix }}" = "openmpi" ] && echo "-mca btl ^openib --allow-run-as-root")" \
62
56
-DTEST_MPI_RANKS=1 \
63
57
..
You can’t perform that action at this time.
0 commit comments