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 e5d1a62
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/CI-e4s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,18 @@ 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: |
[[ ${{ matrix.cmake_build_type }} == Debug ]] && hypre_cmake_opts+=( --enable-debug )
./configure --prefix=$HOME/hypre --disable-fortran --with-MPI --with-MPI-include=${MPICH_DIR}/include --with-MPI-lib="mpi" --with-MPI-lib-dir="${MPICH_DIR}/lib --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 +145,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 e5d1a62

Please sign in to comment.