[Trilinos-Users] [EXTERNAL] Kokkos with CUDA compilation error

Irina Demeshko ipdemes at sandia.gov
Tue Sep 8 12:14:24 EDT 2015


Yes. I had to do this because there is no OpenMPI on Titan.

Irina

On 09/08/2015 09:54 AM, Phipps, Eric T wrote:
> Are you using nvcc_wrapper as the cmake compiler?
>
> -Eric
>
> From: Trilinos-Users <trilinos-users-bounces at trilinos.org 
> <mailto:trilinos-users-bounces at trilinos.org>> on behalf of Romain 
> Veltz <romain.veltz at inria.fr <mailto:romain.veltz at inria.fr>>
> Date: Friday, August 28, 2015 at 3:33 AM
> To: "trilinos-users at trilinos.org <mailto:trilinos-users at trilinos.org>" 
> <trilinos-users at trilinos.org <mailto:trilinos-users at trilinos.org>>
> Cc: Kartheek Medathati <kartheek.medathati at inria.fr 
> <mailto:kartheek.medathati at inria.fr>>
> Subject: [EXTERNAL] [Trilinos-Users] Kokkos with CUDA compilation error
>
> Dear Trilinos Users,
>
> I am unable to compile Trilinos ( Kokkos)  with CUDA support and I get 
> the following error. I am wondering if anybody had the same issue.
>
> Specs : Fedora 21, X86_64 , CUDA 7.0 gcc 4.9.2
>
> Thank you a lot for your help,
>
> Bests,
>
> Romain
>
> *****************************************************
> [  6%] Built target PyTrilinos_testEpetra_IntSerialDense
> In file included from 
> /workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/Kokkos_CudaSpace.hpp:60:0,
>                  from 
> /workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/Kokkos_Cuda.hpp:56,
>                  from 
> /workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/Kokkos_Core.hpp:53,
>                  from 
> /workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/impl/Kokkos_Core.cpp:44:
> /workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/Cuda/Kokkos_Cuda_BasicAllocators.hpp:82:22: 
> error: ‘cudaChannelFormatDesc’ has not been declared
>                     , cudaChannelFormatDesc const & desc
>                       ^
>
>
> In file included from 
> /workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/Kokkos_Core.hpp:53:0,
>                  from 
> /workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/impl/Kokkos_Core.cpp:44:
> /workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/Kokkos_Cuda.hpp:206:3: 
> error: ‘cudaStream_t’ does not name a type
>    cudaStream_t cuda_stream() const { return m_stream ; }
>    ^
> /workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/Kokkos_Cuda.hpp:214:3: 
> error: ‘cudaStream_t’ does not name a type
>    cudaStream_t m_stream ;
>    ^
> ***************************************************
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at trilinos.org
> https://trilinos.org/mailman/listinfo/trilinos-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20150908/717d803d/attachment.html>


More information about the Trilinos-Users mailing list