Currently, the Python API requires Kokkos, because some Kokkos views are used without a guard (e.g. #ifdef OMEGA_H_USE_KOKKOS).
I think this could be resolved in the source code by guarding the specific functions though I haven't taken a deeper look yet to confirm the scope of the change.
However, depending on the desired behavior for the Python API, we could instead make Kokkos an explicit dependency of the Python variant. This could be included in spack/spack-packages#5792
What do you think? @cwsmith @jacobmerson
Currently, the Python API requires Kokkos, because some Kokkos views are used without a guard (e.g. #ifdef OMEGA_H_USE_KOKKOS).
I think this could be resolved in the source code by guarding the specific functions though I haven't taken a deeper look yet to confirm the scope of the change.
However, depending on the desired behavior for the Python API, we could instead make Kokkos an explicit dependency of the Python variant. This could be included in spack/spack-packages#5792
What do you think? @cwsmith @jacobmerson