[Trilinos-Users] Unable to Build Trilinos with CUDA 4.0 [Kokkos Error]

Gennadiy Rishkin gennadiy.rishkin at gmail.com
Tue Mar 8 08:50:10 MST 2011


Hi,

I get the following error when building Trilinos with CUDA enabled (CUDA
4.0):

/home/gennadiy/trilinos-10.6.2-Source/packages/kokkos/NodeAPI/test/ThrustGPUNodeTest.cpp:62:
instantiated from here
/usr/local/cuda/include/thrust/detail/device/cuda/for_each.inl:93: error:
invalid application of ‘sizeof’ to incomplete type
‘thrust::detail::STATIC_ASSERTION_FAILURE<false>’
/usr/local/cuda/include/thrust/detail/device/cuda/arch.h: At global scope:
/usr/local/cuda/include/thrust/detail/device/cuda/arch.h:59: warning: inline
function ‘size_t thrust::detail::device::cuda::arch::compute_capability()’
used but never defined
make[2]: ***
[packages/kokkos/NodeAPI/test/CMakeFiles/Kokkos_ThrustGPUNodeTestAndTiming.dir/ThrustGPUNodeTest.cpp.o]
Error 1
make[1]: ***
[packages/kokkos/NodeAPI/test/CMakeFiles/Kokkos_ThrustGPUNodeTestAndTiming.dir/all]
Error 2

There's a lot more output which I've snipped.

Gennadiy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20110308/303e9e7e/attachment.html 


More information about the Trilinos-Users mailing list