Skip to content

Commit

Permalink
Add Umpire to Linux CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gartavanis committed Dec 11, 2024
1 parent 0bc6714 commit 607877d
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,22 @@ jobs:
fi
echo "RMM_FLAGS=-DRMM_ROOT=$PARFLOW_DEP_DIR" >> $GITHUB_ENV

- name: Umpire Install
env:
CACHE_HIT: ${{steps.cache-parflow-dependencies.outputs.cache-hit}}
if: matrix.config.backend == 'cuda' || matrix.config.backend == 'kokkos'
run: |
if [[ "$CACHE_HIT" != 'true' ]]; then
git clone --recursive https://github.com/LLNL/Umpire.git
cd Umpire
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=$PARFLOW_DEP_DIR -DENABLE_CUDA=On
make
make install
fi
echo "UMPIRE_FLAGS=-Dumpire_ROOT=$PARFLOW_DEP_DIR" >> $GITHUB_ENV

- name: Kokkos Install
env:
CACHE_HIT: ${{steps.cache-parflow-dependencies.outputs.cache-hit}}
Expand Down Expand Up @@ -458,7 +474,7 @@ jobs:
-DSILO_ROOT=$PARFLOW_DEP_DIR \
-DPARFLOW_ENABLE_PYTHON=${{ matrix.config.python }} \
-DCMAKE_INSTALL_PREFIX=$PARFLOW_DIR \
$NETCDF_FLAGS $KOKKOS_FLAGS $RMM_FLAGS
$NETCDF_FLAGS $KOKKOS_FLAGS $RMM_FLAGS $UMPIRE_FLAGS

- name: ParFlow CMake Build
run: (cd build; make -j 2 install)
Expand Down

0 comments on commit 607877d

Please sign in to comment.