Closed davidozog closed 1 year ago
Try -DKokkos_ROOT=/path/to/kokkos/install/dir
Thanks @dalg24.
I thought I had tried that earlier, but I must have made a mistake before, because pointing -DKokkos_ROOT
to the install directory is working now.
I think I have a small suggestion for the README that might help others avoid this - I will submit as a pull request if that's ok?
Sounds good
I'm having trouble building
kokkos-remote-spaces
due to a missing cmake file in kokkos:However, I see that
KokkosTargets.cmake
file is located in a different directory (CMakeFiles/Export/lib64/cmake/Kokkos/KokkosTargets.cmake
), so if I create a symlink to the file from the kokkos build directory, things get further. But something still seems wrong with my build because the next error is this:Here is the cmake command I'm running (on SUSE Linux Enterprise Server 15 SP3, cmake version 3.17.0, oneAPI C++ 2023.1.0):
And here is how I've configured Kokkos:
Should
KOKKOS_BUILD_DIR
point to the kokkos install directory? I have different (but similar) errors in that case.