From ccae8e4f5911c638dc94d2688b2674cd01b93308 Mon Sep 17 00:00:00 2001 From: Dinesh Adepu Date: Tue, 15 Oct 2024 10:17:11 +0530 Subject: [PATCH] particleGridMigrate -> particleMigrate (Update to latest Cabana) --- .github/workflows/CI.yml | 7 ++++--- src/ExaMPM_ProblemManager.hpp | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5dc32d8..3d7e38f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -45,19 +45,20 @@ jobs: uses: actions/checkout@v2.2.0 with: repository: kokkos/kokkos - ref: 3.7.02 + ref: 4.1.00 path: kokkos - name: Build kokkos working-directory: kokkos run: | - cmake -B build -DCMAKE_INSTALL_PREFIX=$HOME/kokkos -DKokkos_CXX_STANDARD=14 -DKokkos_ENABLE_${{ matrix.backend }}=ON + cmake -B build -DCMAKE_INSTALL_PREFIX=$HOME/kokkos -DKokkos_ENABLE_${{ matrix.backend }}=ON cmake --build build --parallel 2 cmake --install build - name: Checkout Cabana uses: actions/checkout@v2.2.0 with: repository: ECP-copa/Cabana - ref: 0.6.1 + # Post 0.7.0 + ref: facdb9097b68b733626911d1935a946f467cf143 path: Cabana - name: Build Cabana working-directory: Cabana diff --git a/src/ExaMPM_ProblemManager.hpp b/src/ExaMPM_ProblemManager.hpp index 3659b89..a2c5581 100644 --- a/src/ExaMPM_ProblemManager.hpp +++ b/src/ExaMPM_ProblemManager.hpp @@ -272,8 +272,8 @@ class ProblemManager void communicateParticles( const int minimum_halo_width ) { auto positions = get( Location::Particle(), Field::Position() ); - Cabana::Grid::particleGridMigrate( *( _mesh->localGrid() ), positions, - _particles, minimum_halo_width ); + Cabana::Grid::particleMigrate( *( _mesh->localGrid() ), positions, + _particles, minimum_halo_width ); } private: