Closed jti-lanl closed 3 years ago
It looks like you're setting the host architecture to "Haswell" (with AVX2 instructions), but the issue title suggests you compile for ARM.
Depending on the host architecture you may want to change the Kokkos_ARCH_HSW
to the appropriate ARM
version, see https://github.com/kokkos/kokkos/blob/master/BUILD.md#architecture-keywords
Thanks @pgrete! I'm pretty sure that's exactly the problem.
Apologies, and thanks for the pointer. I had no idea what 'HSW' meant. Now, I've found Kokkos_ARCH_ARMV81
(close enough) which configures for a successful build.
Kokkos can also automatically detect the architecture. You might try leaving the Kokkos_ARCH_*
line off.
cmake -DPHOEBUS_ENABLE_CUDA=On -DCMAKE_CXX_COMPILER=`pwd`/../external/singularity-eos/utils/kokkos/bin/nvcc_wrapper -DKokkos_ARCH_HSW=ON -DKokkos_ARCH_VOLTA70=ON -DPHOEBUS_ENABLE_MPI=OFF ..
Building single-threaded here just for simplicity and reproducibility. With multiple threads, there are similar errors in many compiles. I've also shortened the list of "known arguments", in the diagnostics below.