From e5d1a62a7bc6f3b823b7076668c99e99dd9c2c4d Mon Sep 17 00:00:00 2001 From: Sam Reeve <6740307+streeve@users.noreply.github.com> Date: Thu, 3 Aug 2023 12:16:57 -0400 Subject: [PATCH] Add hypre build to HIP CI --- .github/workflows/CI-e4s.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/CI-e4s.yml b/.github/workflows/CI-e4s.yml index b7b8c3348..119a61c60 100644 --- a/.github/workflows/CI-e4s.yml +++ b/.github/workflows/CI-e4s.yml @@ -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 @@ -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