Skip to content

CMake Error: Kokkos requires C++20 or newer but requested 17 #215

@ajchowdhury000-cyber

Description

@ajchowdhury000-cyber

I was trying to install PhasicFlow in Ubuntu and I came across this:

CMake Error at /home/user/Kokkos/kokkos/cmake/kokkos_test_cxx_std.cmake:89 (message):
Kokkos requires C++20 or newer but requested 17!
Call Stack (most recent call first):
/home/user/Kokkos/kokkos/cmake/kokkos_tribits.cmake:162 (include)
/home/user/Kokkos/kokkos/CMakeLists.txt:225 (kokkos_setup_build_environment)

How can I fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions