Skip to content

Commit

Permalink
Try to fix Spack CI workflow by reverting Open MPI change
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiangrimberg committed Feb 17, 2024
1 parent dd42790 commit 23a099a
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
include: # Include GPU build tests
- compiler: gcc
mpi: mpich
mpi: openmpi
gpu: none

# - compiler: gcc
Expand All @@ -32,11 +32,33 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Configure Open MPI
if: matrix.mpi == 'openmpi'
run: |
sudo apt-get install -y openmpi-bin libopenmpi-dev
- name: Configure MPICH
if: matrix.mpi == 'mpich'
run: |
sudo apt-get install -y mpich libmpich-dev
- name: Configure Intel MPI
if: matrix.mpi == 'intelmpi'
uses: mpi4py/setup-mpi@v1
with:
mpi: ${{ matrix.mpi }}

- name: Configure Clang compiler
if: matrix.compiler == 'clang'
run: |
sudo apt-get install -y clang lld
- name: Configure Intel oneAPI compiler
if: matrix.compiler == 'intel'
run: |
sudo apt-get install -y intel-oneapi-compiler-dpcpp-cpp \
intel-oneapi-compiler-fortran
- uses: vsoch/spack-package-action/install@main

- name: Build Palace
Expand Down

0 comments on commit 23a099a

Please sign in to comment.