Hello,

It looks like you installed your own version of Kokkos which requires C++17 
but you compiled deal.II using C++14. You need to compile deal.II with 
C++17. You need to reconfigure deal.II and to use "-DCMAKE_CXX_STANDARD=17".

Best,

Bruno

On Tuesday, March 19, 2024 at 8:19:36 AM UTC-4 melvina...@gmail.com wrote:

> Dear group, 
>
> As part of the steps to configure and install deal.ii on my ubuntu 20.04, 
> I reached the point where I run the 'make' command. It pulls a long error 
> with this near the end:
>
> /usr/local/include/Kokkos_Core.hpp: In function ‘std::vector<ValueType> 
> Kokkos::Experimental::partition_space(const ExecSpace&, Args ...)’:
> /usr/local/include/Kokkos_Core.hpp:268:20: error: ‘is_arithmetic_v’ is not 
> a member of ‘std’; did you mean ‘is_arithmetic’?
>   268 |       (... && std::is_arithmetic_v<Args>),
>       |                    ^~~~~~~~~~~~~~~
>       |                    is_arithmetic
> /usr/local/include/Kokkos_Core.hpp:268:35: error: expected ‘)’ before ‘<’ 
> token
>   268 |       (... && std::is_arithmetic_v<Args>),
>       |       ~                           ^
>       |                                   )
> /usr/local/include/Kokkos_Core.hpp:269:73: error: expected ‘,’ before ‘;’ 
> token
>   269 |       "Kokkos Error: partitioning arguments must be integers or 
> floats");
>       |                                                                   
>       ^
>       |                                                                   
>       ,
> /usr/local/include/Kokkos_Core.hpp:269:73: error: expected string-literal 
> before ‘;’ token
> /usr/local/include/Kokkos_Core.hpp:269:73: error: expected ‘)’ before ‘;’ 
> token
>   269 |       "Kokkos Error: partitioning arguments must be integers or 
> floats");
>       |                                                                   
>       ^
>       |                                                                   
>       )
> /usr/local/include/Kokkos_Core.hpp:267:16: note: to match this ‘(’
>   267 |   static_assert(
>       |                ^
> make[2]: *** 
> [source/numerics/CMakeFiles/object_numerics_release.dir/build.make:63: 
> source/numerics/CMakeFiles/object_numerics_release.dir/data_out.cc.o] Error 
> 1
> make[1]: *** [CMakeFiles/Makefile2:1682: 
> source/numerics/CMakeFiles/object_numerics_release.dir/all] Error 2
> make: *** [Makefile:130: all] Error 2
>
>
>
> Any ideas on what I can do to solve this and finish the installation?
>
> Thank you.
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/9284a584-8916-4ec1-9394-b8f6ea77e1a2n%40googlegroups.com.

Reply via email to