Tpetra: Build errors with complex enabled
Created by: mhoemmen
@trilinos/tpetra
When I enable Scalar=complex<double>
in Tpetra with GCC 4.9.3 (debug build) and OpenMP, I get build errors that look like build errors currently on the Dashboard:
https://testing.sandia.gov/cdash/viewBuildError.php?buildid=4326483
.../Trilinos/packages/tpetra/core/src/kokkos_refactor/Tpetra_KokkosRefactor_Details_MultiVectorDistObjectKernels.hpp:755:39: error: no matching function for call to ‘atomic_fetch_oper(Tpetra::KokkosRefactor::Details::AbsMaxOper<Kokkos::complex<double>, Kokkos::complex<double> >, Kokkos::complex<double>*, const Kokkos::complex<double>&)’
Kokkos::Impl::atomic_fetch_oper (AbsMaxOper<Scalar,Scalar>(), &dest, src);
Possible Solution
Fix https://github.com/kokkos/kokkos/issues/1951 .
Related Issues
- Is blocked by https://github.com/kokkos/kokkos/issues/1951