You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some trouble compiling grit. The first error:
/home/sles/proj/inno4Scale/grit/src/Goethite.h: In static member function ‘static void Goethite<NX, NY, NZ, NH>::depositVectr3(Yarn::VectorFieldType, Dust::LocationVecType, Dust::PointHealthType, Dust::Vectr3PointType)’:
/home/sles/proj/inno4Scale/grit/src/Goethite.h:69:16: error: ‘Yarn::VectorFieldType’ {aka ‘class Kokkos::View<double**>’} has no member named ‘dimension_0’; did you mean ‘dimension’?
69 | assert(F.dimension_0()==(NX+1+2*NH)*(NY+1+2*NH)*(NZ+1+2*NH));
| ^~~~~~~~~~~
and the second:
/home/sles/cmake/kokkos/install-S/include/impl/Kokkos_FunctorAnalysis.hpp: In instantiation of ‘struct Kokkos::Impl::FunctorAnalysis<Kokkos::Impl::FunctorPatternInterface::REDUCE, Kokkos::RangePolicy<Kokkos::OpenMP>, calcmax, double>::DeduceJoinNoTag<calcmax, void>’:
/home/sles/cmake/kokkos/install-S/include/impl/Kokkos_FunctorAnalysis.hpp:640:10: required from ‘struct Kokkos::Impl::FunctorAnalysis<Kokkos::Impl::FunctorPatternInterface::REDUCE, Kokkos::RangePolicy<Kokkos::OpenMP>, calcmax, double>::DeduceJoin<calcmax, void>’
/home/sles/cmake/kokkos/install-S/include/impl/Kokkos_FunctorAnalysis.hpp:895:8: required from ‘struct Kokkos::Impl::FunctorAnalysis<Kokkos::Impl::FunctorPatternInterface::REDUCE, Kokkos::RangePolicy<Kokkos::OpenMP>, calcmax, double>’
/home/sles/cmake/kokkos/install-S/include/Kokkos_Parallel_Reduce.hpp:1526:71: required from ‘constexpr const bool Kokkos::Impl::ParallelReduceAdaptor<Kokkos::RangePolicy<Kokkos::OpenMP>, calcmax, double>::is_array_reduction’
/home/sles/cmake/kokkos/install-S/include/Kokkos_Parallel_Reduce.hpp:1529:55: required from ‘struct Kokkos::Impl::ParallelReduceAdaptor<Kokkos::RangePolicy<Kokkos::OpenMP>, calcmax, double>’
/home/sles/cmake/kokkos/install-S/include/Kokkos_Parallel_Reduce.hpp:1710:77: required from ‘std::enable_if_t<(!((Kokkos::is_view<Arg>::value || Kokkos::is_reducer<ReturnType>::value) || std::is_pointer<_Dp>::value))> Kokkos::parallel_reduce(const size_t&, const FunctorType&, ReturnType&) [with FunctorType = calcmax; ReturnType = double; std::enable_if_t<(!((Kokkos::is_view<Arg>::value || Kokkos::is_reducer<ReturnType>::value) || std::is_pointer<_Dp>::value))> = void; size_t = long unsigned int]’
/home/sles/proj/inno4Scale/grit/src/SpigotControlTest.C:142:47: required from here
/home/sles/cmake/kokkos/install-S/include/impl/Kokkos_FunctorAnalysis.hpp:634:25: error: static assertion failed: Reducer with a join() operator taking volatile-qualified parameters is no longer supported
The first one goes away when built as release. The second one is still there.
I use Kokkos 4.3.0. What version is recommended?
The text was updated successfully, but these errors were encountered:
I have some trouble compiling grit. The first error:
and the second:
The first one goes away when built as release. The second one is still there.
I use Kokkos 4.3.0. What version is recommended?
The text was updated successfully, but these errors were encountered: