From 96a37cc260755b293250548e498a0297ac3c0772 Mon Sep 17 00:00:00 2001 From: "Chong, Kwitae" Date: Thu, 20 Feb 2025 13:51:51 -0500 Subject: [PATCH 1/2] Cannot run ParticleLevelSet test without ArborX --- unit_test/CMakeLists.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/unit_test/CMakeLists.txt b/unit_test/CMakeLists.txt index 869a95b..ffbf170 100644 --- a/unit_test/CMakeLists.txt +++ b/unit_test/CMakeLists.txt @@ -147,7 +147,7 @@ Picasso_add_tests(NAMES APIC ) -Picasso_add_tests(MPI NAMES +set(MPI_TESTS FacetGeometry ParticleInit ParticleList @@ -160,6 +160,11 @@ Picasso_add_tests(MPI NAMES GridOperator2d ParticleInterpolation LevelSetRedistance - ParticleLevelSet MarchingCubes ) + +if(Picasso_ENABLE_ARBORX) + list(APPEND MPI_TESTS ParticleLevelSet) +endif() + +Picasso_add_tests(MPI NAMES ${MPI_TESTS}) From 2b9c47ec0e284ed3cd00fe076468d86e6881b710 Mon Sep 17 00:00:00 2001 From: Sam Reeve <6740307+streeve@users.noreply.github.com> Date: Thu, 20 Feb 2025 15:52:49 -0500 Subject: [PATCH 2/2] Add CI without ArborX --- .github/workflows/CI.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4d82a4c..ec8fa5f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -23,8 +23,16 @@ jobs: openmp: ['ON', 'OFF'] cmake_build_type: ['Debug', 'Release'] kokkos_ver: ['4.1.00'] + arborx: ['ArborX'] coverage: ['OFF'] include: + - distro: 'ubuntu:latest' + cxx: 'g++' + openmp: 'ON' + cmake_build_type: 'Debug' + kokkos_ver: '4.1.00' + arborx: 'OFF' + coverage: 'OFF' - distro: 'ubuntu:latest' cxx: 'g++' openmp: 'ON' @@ -57,12 +65,14 @@ jobs: cmake --build build --parallel 2 cmake --install build - name: Checkout arborx + if: ${{ matrix.arborx != 'OFF' }} uses: actions/checkout@v3 with: repository: arborx/ArborX ref: v1.2 path: arborx - name: Build arborx + if: ${{ matrix.arborx != 'OFF' }} working-directory: arborx run: | cmake -B build \