Skip to content

Commit

Permalink
[ci] set the MPI we selected in the matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesBuchner committed Jul 28, 2023
1 parent 03b40f9 commit ac590fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
if: ${{ matrix.MPI == 'openmpi' }}
run: |
sudo apt-get install -qq openmpi-bin libopenmpi-dev python3-mpi4py
update-alternatives --list mpi|grep "$WITHMPI" | xargs -rt sudo update-alternatives --set mpi
update-alternatives --list mpirun|grep "$WITHMPI" | xargs -rt sudo update-alternatives --set mpirun
update-alternatives --list mpi|grep "$MPI" | xargs -rt sudo update-alternatives --set mpi
update-alternatives --list mpirun|grep "$MPI" | xargs -rt sudo update-alternatives --set mpirun
- name: Install mpich
if: ${{ matrix.MPI == 'mpich' }}
run: |
sudo apt-get install -qq mpich libmpich-dev python3-mpi4py
update-alternatives --list mpi|grep "$WITHMPI" | xargs -rt sudo update-alternatives --set mpi
update-alternatives --list mpirun|grep "$WITHMPI" | xargs -rt sudo update-alternatives --set mpirun
update-alternatives --list mpi|grep "$MPI" | xargs -rt sudo update-alternatives --set mpi
update-alternatives --list mpirun|grep "$MPI" | xargs -rt sudo update-alternatives --set mpirun
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down

0 comments on commit ac590fe

Please sign in to comment.