Dear dealii developers,
I've followed
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, 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