Skip to content

Commit

Permalink
Only install MPI for the MPI-enabled cases
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoon committed Jan 17, 2025
1 parent a80bd3f commit a264874
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ jobs:
- name: Check out
uses: actions/checkout@v4

- name: Install dependencies
- name: Install non-MPI dependencies
run: sudo apt-get update && sudo apt-get install -y
libnetcdf-dev libnetcdff-dev liblapack-dev libopenblas-dev
libopenmpi-dev openmpi-bin

- if: matrix.esmf_comm == 'mpi'
name: Install OpenMPI
run: sudo apt-get install -y libopenmpi-dev openmpi-bin

- name: Build ESMF
run: |
Expand Down

0 comments on commit a264874

Please sign in to comment.