Kokkos - discards qualifiers - const #686
Replies: 4 comments 2 replies
-
It's hard to tell much if you don't say what version of ArborX you are using. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the quick reply. From the spack spec it is the header only version of ArborX which they have patched only the CMakeLists.txt file. ^arborx@header_only%gcc@8.5.0 I am pinging my colleagues who wrote the base code. I have attached the full error log as a zip file as it is quite verbose. If there are any other clues please let me know. Especially, as the machine being recently updated I want make there is not a incompatibility. |
Beta Was this translation helpful? Give feedback.
-
This is a pretty old version of the code (pre 1.0). |
Beta Was this translation helpful? Give feedback.
-
Done, thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In a code that I am compiling ArborX is used. I am getting a couple of errors that while I completely understand the issue I am not sure how to proceed. Below are the basics. For the machine being used it was just upgraded to RockyLinux8 and we use a cuda@11.5.0 and cuda_arch of 70 for the nodes when building with spack. As the machine was just updated and well as updating the calling code base I am not sure if ArborX is new in the project or not (checking on that now).
Any guidance would be appreciated.
236 /uufs/chpc.utah.edu/common/home/u0059283/Plato_new/spack/opt/spack/linux-rocky8-x86_64/gcc-8.5.0/arborx-header_only-p4pqzc6zmcik5owrlkremkc53yz7dd25/include/details/ArborX_Detail
sBoundingVolumeHierarchyImpl.hpp:423:57: error: binding reference of type 'Kokkos::View<int*, Kokkos::Device<Kokkos::Cuda, Kokkos::CudaSpace> >&' to 'const Kokkos::View<int*, Kok
kos::Device<Kokkos::Cuda, Kokkos::CudaSpace> >' discards qualifiers
237 Details::TreeTraversal::query(
238 ^
239 /uufs/chpc.utah.edu/common/home/u0059283/Plato_new/spack/opt/spack/linux-rocky8-x86_64/gcc-8.5.0/arborx-header_only-p4pqzc6zmcik5owrlkremkc53yz7dd25/include/details/ArborX_Detail
sBoundingVolumeHierarchyImpl.hpp:515:57: error: binding reference of type 'Kokkos::View<int*, Kokkos::Device<Kokkos::Cuda, Kokkos::CudaSpace> >&' to 'const Kokkos::View<int*, Kok
kos::Device<Kokkos::Cuda, Kokkos::CudaSpace> >' discards qualifiers
240 Details::TreeTraversal::query(
Beta Was this translation helpful? Give feedback.
All reactions