Skip to content

HybridVPIC and HybridVPIC-K computation results are inconsistent #103

@IceAgee

Description

@IceAgee

Hello,
When running the examples from the examples/pcai/pcai.cxx on both the HybridVPIC and HybridVPIC-K branches, the initial temperature anisotropy is set to 3. The CPU version provides the correct result, approximately 3, as expected.
However, when using the HybridVPIC-K code, the initial temperature anisotropy is about 2.6, which is incorrect.
Are there any issues during the initialization in the Kokkos version that could cause this discrepancy?

Image

vpic-kokkos was configured using

CRAYPE_LINK_TYPE=dynamic cmake
-DCMAKE_BUILD_TYPE=Release
-DENABLE_INTEGRATED_TESTS=OFF
-DENABLE_UNIT_TESTS=OFF
-DBUILD_INTERNAL_KOKKOS=ON
-DENABLE_KOKKOS_CUDA=ON
-DKokkos_ARCH_AMPERE80=ON
-DKokkos_ARCH_ZEN3=ON
-DKokkos_ENABLE_OPENMP=ON
-DCMAKE_CXX_COMPILER="nvcc_wrapper"
-DCMAKE_CXX_FLAGS="-fopenmp -rdynamic -g"
$src_dir

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions