Skip to content

Commit

Permalink
Add hypre build to HIP CI
Browse files Browse the repository at this point in the history
  • Loading branch information
streeve committed Sep 15, 2023
1 parent f127ca1 commit f22edeb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/CI-e4s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,19 @@ jobs:
-DHeffte_ENABLE_ROCM=ON
cmake --build build --parallel 2
cmake --install build
- name: Checkout hypre
uses: actions/checkout@v3
with:
repository: hypre-space/hypre
ref: master
path: hypre
- name: Build hypre
working-directory: hypre/src
run: |
PATH=$PATH:/spack/bin
[[ ${{ matrix.cmake_build_type }} == Debug ]] && hypre_cmake_opts+=( --enable-debug )
./configure --prefix=$HOME/hypre --disable-fortran --with-MPI --with-MPI-include=$(spack location -i mpich)/include --with-hip --without-sycl --with-gpu-arch=gfx908 ${hypre_cmake_opts[@]}
make -j2 install
- name: Checkout ALL
run: |
git clone --depth 1 --branch v0.9.2 https://gitlab.jsc.fz-juelich.de/SLMS/loadbalancing ALL
Expand All @@ -133,6 +146,7 @@ jobs:
-DCabana_ENABLE_PERFORMANCE_TESTING=ON \
-DCabana_PERFORMANCE_EXPECTED_FLOPS=0 \
-DCMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }} \
-DCabana_REQUIRE_HYPRE=ON \
-DCMAKE_DISABLE_FIND_PACKAGE_HDF5=ON \
-DGPU_TARGETS="gfx908"
cmake --build build --parallel 2 --verbose
Expand Down

0 comments on commit f22edeb

Please sign in to comment.