[Trilinos-Users] [EXTERNAL] Kokkos with CUDA compilation error
Mohammad Siahatgar
siahatgar at luis.uni-hannover.de
Sun Sep 20 14:39:31 EDT 2015
Dear Trilinos Users,
I am also getting the previously mentioned error when compiling Kokkos
with CUDA. I've tried version 12.2.1 as well as development branch with
GCC 4.8.1/4.9.1, CUDA 6.5, and MVAPICH2 and OpenMPI to no avail.
Any help regarding installing Kokkos with CUDA is highly appreciated.
Bests,
Mohammad
Irina Demeshko wrote:
> 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
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at trilinos.org
> https://trilinos.org/mailman/listinfo/trilinos-users
--
Dr. Mohammad Siahatgar
Leibniz Universität IT Services
Schloßwender Straße 5, 30159 Hannover
Tel. +49 511 762 794666 | Fax +49 511 762 3003
siahatgar at luis.uni-hannover.de | www.luis.uni-hannover.de
More information about the Trilinos-Users
mailing list