Dear all While compiling v9.3.2, I get failure at this point. It seems to be this problem
https://github.com/dealii/dealii/issues/12914 but I am still facing it. Is it not fixed in v9.3.2 ? Thanks praveen [ 58%] Building CXX object source/sundials/CMakeFiles/obj_sundials_release.dir/arkode.cc.o [ 58%] Building CXX object source/sundials/CMakeFiles/obj_sundials_release.dir/ida.cc.o [ 58%] Building CXX object source/sundials/CMakeFiles/obj_sundials_release.dir/copy.cc.o [ 59%] Building CXX object source/matrix_free/CMakeFiles/obj_matrix_free_release.dir/vector_data_exchange.cc.o [ 59%] Building CXX object source/sundials/CMakeFiles/obj_sundials_release.dir/kinsol.cc.o [ 59%] Building CXX object source/sundials/CMakeFiles/obj_sundials_release.dir/n_vector.cc.o In file included from /Users/praveen/Applications/deal.II/9.3.2/source/sundials/n_vector.cc:20: /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:522:10: error: cannot initialize return object of type 'void *' with an rvalue of type 'MPI_Comm' (aka 'int') return get_communicator<VectorType>(v); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:897:24: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::NVectorOperations::get_communicator_as_void_ptr<dealii::LinearAlgebra::distributed::Vector<double>, 0>' requested here NVectorOperations::get_communicator_as_void_ptr<VectorType>; ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:407:16: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::create_empty_nvector<dealii::LinearAlgebra::distributed::Vector<double>>' requested here N_Vector v = create_empty_nvector<VectorType>(); ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:376:7: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::create_nvector<dealii::LinearAlgebra::distributed::Vector<double>>' requested here create_nvector( ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:522:10: error: cannot initialize return object of type 'void *' with an rvalue of type 'MPI_Comm' (aka 'int') return get_communicator<VectorType>(v); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:897:24: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::NVectorOperations::get_communicator_as_void_ptr<dealii::LinearAlgebra::distributed::BlockVector<double>, 0>' requested here NVectorOperations::get_communicator_as_void_ptr<VectorType>; ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:407:16: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::create_empty_nvector<dealii::LinearAlgebra::distributed::BlockVector<double>>' requested here N_Vector v = create_empty_nvector<VectorType>(); ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:376:7: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::create_nvector<dealii::LinearAlgebra::distributed::BlockVector<double>>' requested here create_nvector( ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:522:10: error: cannot initialize return object of type 'void *' with an rvalue of type 'MPI_Comm' (aka 'int') return get_communicator<VectorType>(v); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:897:24: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::NVectorOperations::get_communicator_as_void_ptr<dealii::LinearAlgebra::distributed::Vector<float>, 0>' requested here NVectorOperations::get_communicator_as_void_ptr<VectorType>; ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:407:16: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::create_empty_nvector<dealii::LinearAlgebra::distributed::Vector<float>>' requested here N_Vector v = create_empty_nvector<VectorType>(); ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:376:7: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::create_nvector<dealii::LinearAlgebra::distributed::Vector<float>>' requested here create_nvector( ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:522:10: error: cannot initialize return object of type 'void *' with an rvalue of type 'MPI_Comm' (aka 'int') return get_communicator<VectorType>(v); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:897:24: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::NVectorOperations::get_communicator_as_void_ptr<dealii::LinearAlgebra::distributed::BlockVector<float>, 0>' requested here NVectorOperations::get_communicator_as_void_ptr<VectorType>; ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:407:16: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::create_empty_nvector<dealii::LinearAlgebra::distributed::BlockVector<float>>' requested here N_Vector v = create_empty_nvector<VectorType>(); ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:376:7: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::create_nvector<dealii::LinearAlgebra::distributed::BlockVector<float>>' requested here create_nvector( ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:522:10: error: cannot initialize return object of type 'void *' with an rvalue of type 'MPI_Comm' (aka 'int') return get_communicator<VectorType>(v); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:897:24: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::NVectorOperations::get_communicator_as_void_ptr<dealii::TrilinosWrappers::MPI::Vector, 0>' requested here NVectorOperations::get_communicator_as_void_ptr<VectorType>; ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:407:16: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::create_empty_nvector<dealii::TrilinosWrappers::MPI::Vector>' requested here N_Vector v = create_empty_nvector<VectorType>(); ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:376:7: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::create_nvector<dealii::TrilinosWrappers::MPI::Vector>' requested here create_nvector( ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:522:10: error: cannot initialize return object of type 'void *' with an rvalue of type 'MPI_Comm' (aka 'int') return get_communicator<VectorType>(v); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:897:24: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::NVectorOperations::get_communicator_as_void_ptr<dealii::TrilinosWrappers::MPI::BlockVector, 0>' requested here NVectorOperations::get_communicator_as_void_ptr<VectorType>; ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:407:16: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::create_empty_nvector<dealii::TrilinosWrappers::MPI::BlockVector>' requested here N_Vector v = create_empty_nvector<VectorType>(); ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:376:7: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::create_nvector<dealii::TrilinosWrappers::MPI::BlockVector>' requested here create_nvector( ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:522:10: error: cannot initialize return object of type 'void *' with an rvalue of type 'MPI_Comm' (aka 'int') return get_communicator<VectorType>(v); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:897:24: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::NVectorOperations::get_communicator_as_void_ptr<dealii::PETScWrappers::MPI::Vector, 0>' requested here NVectorOperations::get_communicator_as_void_ptr<VectorType>; ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:407:16: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::create_empty_nvector<dealii::PETScWrappers::MPI::Vector>' requested here N_Vector v = create_empty_nvector<VectorType>(); ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:376:7: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::create_nvector<dealii::PETScWrappers::MPI::Vector>' requested here create_nvector( ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:522:10: error: cannot initialize return object of type 'void *' with an rvalue of type 'MPI_Comm' (aka 'int') return get_communicator<VectorType>(v); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:897:24: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::NVectorOperations::get_communicator_as_void_ptr<dealii::PETScWrappers::MPI::BlockVector, 0>' requested here NVectorOperations::get_communicator_as_void_ptr<VectorType>; ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:407:16: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::create_empty_nvector<dealii::PETScWrappers::MPI::BlockVector>' requested here N_Vector v = create_empty_nvector<VectorType>(); ^ /Users/praveen/Applications/deal.II/9.3.2/include/deal.II/sundials/n_vector.templates.h:376:7: note: in instantiation of function template specialization 'dealii::SUNDIALS::internal::create_nvector<dealii::PETScWrappers::MPI::BlockVector>' requested here create_nvector( ^ 8 errors generated. make[2]: *** [source/sundials/CMakeFiles/obj_sundials_release.dir/n_vector.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [source/sundials/CMakeFiles/obj_sundials_release.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 59%] Built target obj_matrix_free_release ^Cmake[2]: *** [source/non_matching/CMakeFiles/obj_non_matching_release.dir/coupling.cc.o] Interrupt: 2 make[1]: *** [source/non_matching/CMakeFiles/obj_non_matching_release.dir/all] Interrupt: 2 make: *** [all] Interrupt: 2 -- 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/CAEvUdM%2B70DV3p-Xb8-EAEauwuA4_Nct9a_TAshJh%3DPq61ihSAQ%40mail.gmail.com.