Hello Severin,

The last error is a compiler issue. One thing that is strange in your 
detailed.log is that your CMAKE_CXX_COMPILER is set to mpicxx. I always set 
it to the nvcc_wrapper. Normally any version of nvcc should work. I use 
nvcc 12.6 but 12.4 should be fine too.

Best,

Bruno

On Tuesday, August 19, 2025 at 1:37:40 PM UTC-4 [email protected] wrote:

> Dear dealii developers,
> I've followed readme.html <https://dealii.org/developer/readme.html> to 
> try installing deal.ii with Trilinos 16.0 and the internal Kokkos is 
> configured with -DKokkos_ENABLE_CUDA=ON. And I've exported 
> OMPI_CXX=/path/to/kokkos's/nvcc_wrapper when compiling Trilinos and deal.ii.
>
> Now problems are that 
> 1. the bundled version of boost library has problem with my nvcc (12.4), 
> this issue has been reported here 
> <https://github.com/boostorg/geometry/issues/1259>, then I compiled 
> another version of boost (1.89.0) by myself.
>
> 2. after replacing to a newer version of boost, I still met a problem 
> related to boost:
> /home/fengshw/Downloads/dealii-9.7.0/source/non_matching/quadrature_generator.cc(581):
>  
> error: namespace "boost::math::tools" has no member "toms748_solve"
>                 boost::math::tools::toms748_solve(lambda,
>                                     ^
>
> 1 error detected in the compilation of 
> "/home/fengshw/Downloads/dealii-9.7.0/source/non_matching/quadrature_generator.cc".
>  
> It seems that using the bundled version is a better choice
>
> 3. and a new problem took place in matrix-free module (only for debug 
> version, release version can be built):
> Building CXX object 
> source/numerics/CMakeFiles/object_numerics_debug.dir/vector_tools_project_qpmf.cc.o
> /home/fengshw/Downloads/dealii-9.7.0/include/deal.II/matrix_free/tools.h: 
> In member function ‘void 
> dealii::MatrixFreeTools::internal::ComputeDiagonalHelper<dim, 
> VectorizedArrayType, is_face>::reinit(unsigned int)’:
> /home/fengshw/Downloads/dealii-9.7.0/include/deal.II/matrix_free/tools.h:1003:924:
>  
> error: ‘__T0’ was not declared in this scope; did you mean ‘__y0’?
>  1003 |                           
> AssertIndexRange(constraint_position[std::get<1>(hn)],
>       |                                                                   
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>                      ^   
>       |                                                                   
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>                                                                             
>                      __y0
> /home/fengshw/Downloads/dealii-9.7.0/include/deal.II/matrix_free/tools.h:1003:979:
>  
> error: template argument 1 is invalid
>  1003 |                           
> AssertIndexRange(constraint_position[std::get<1>(hn)],
>
>
> I wonder the last one is caused by nvcc or not since I succeed in 
> compiling deal.ii with gcc (without setting MPI, Trilinos). If it is the 
> case, which version of nvcc should I choose? My device is RTX 4060 Ti.
>
> log.txt is the output during make.
>
> Thank you
> Severin
>

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dealii/76074d7c-318f-4972-9a44-c602f2bdf151n%40googlegroups.com.

Reply via email to