You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Spack package we're setting CMAKE_CXX_COMPILER and CMAKE_C_COMPILER to hipcc when building for ROCm. This isn't propagated to the Realm CMake build, which causes it to use some default compiler (like GCC). Since Kokkos (kokkos+rocm) injects hipcc/amdclang specific compilation flags, that then fails.
The suggested fix for this is to propagate CMAKE_CXX_COMPILER and CMAKE_C_COMPILER of Legion to the Realm build options.
The above is not true. See below. But the wrong compiler is being used or the amdclang compilation flags get applied to too many files.