From ac590fe95806f85277b1c540f9e8dc5bff7eab1b Mon Sep 17 00:00:00 2001 From: Johannes Buchner Date: Fri, 28 Jul 2023 10:07:00 -0400 Subject: [PATCH] [ci] set the MPI we selected in the matrix --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 53d048d..a52b878 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }}