[Trilinos-Users] Kokkos compilation fails
GUEDON Stéphane
stephane.guedon at doceapower.com
Fri Apr 17 04:21:26 MDT 2015
Hello,
Using Trilinos version 11.14.1 and compiling under GNU (Gcc, G++, !C11)
the packages Kokkos, I have the following error:
XXX/packages/kokkos/core/src/impl/Kokkos_Atomic_Fetch_Add.hpp: In
instantiation of 'void Kokkos::atomic_add(volatile T*, T) [with T =
double]':
XXX/packages/kokkos/core/src/Kokkos_Complex.hpp:223:42: required from
'void Kokkos::complex<RealType>::atomic_add(const
Kokkos::complex<RealType>&) volatile [with RealType = double]'
XXX/packages/kokkos/core/src/Kokkos_Complex.hpp:508:24: required from here
XXX/packages/kokkos/core/src/impl/Kokkos_Atomic_Fetch_Add.hpp:279:28:
error: no matching function for call to 'atomic_fetch_add(volatile
double* const&, const double&)'
atomic_fetch_add(dest,src);
Indeed, Kokkos::atomic_add() is not implemented for real values.
Is Gcc, G++ are supported without C11?
Thank you
More information about the Trilinos-Users
mailing list