Dear all,
I tried to implement the new feature made available recently in the development version of dealii that allows to use a p::d::Triangulation together with a hp::DoFHandler.
The compilation is fine until the linking stage when I get the following error message:
CMakeFiles/thermal_distr1.dir/thermal_distr1.cc.o :
Dans la fonction « ThermalProblem::HeatEquation<3>::refine_mesh(unsigned int, unsigned int) » :
/home/claire/Documents/Doctorat/Simulations/thermal_distr/thermal_distr1.cc:655 : undefined reference to « dealii::parallel::distributed::SolutionTransfer<3, dealii::PETScWrappers::MPI::Vector, dealii::hp::DoFHandler<3, 3> >::SolutionTransfer(dealii::hp::DoFHandler<3, 3> const&) »
/home/claire/Documents/Doctorat/Simulations/thermal_distr/thermal_distr1.cc:656 : undefined reference to « dealii::parallel::distributed::SolutionTransfer<3, dealii::PETScWrappers::MPI::Vector, dealii::hp::DoFHandler<3, 3> >::prepare_for_coarsening_and_refinement(std::vector<dealii::PETScWrappers::MPI::Vector const*, std::allocator<dealii::PETScWrappers::MPI::Vector const*> > const&) »
/home/claire/Documents/Doctorat/Simulations/thermal_distr/thermal_distr1.cc:673 : undefined reference to « dealii::parallel::distributed::SolutionTransfer<3, dealii::PETScWrappers::MPI::Vector, dealii::hp::DoFHandler<3, 3> >::interpolate(std::vector<dealii::PETScWrappers::MPI::Vector*, std::allocator<dealii::PETScWrappers::MPI::Vector*> >&) »
/home/claire/Documents/Doctorat/Simulations/thermal_distr/thermal_distr1.cc:655 : undefined reference to « dealii::parallel::distributed::SolutionTransfer<3, dealii::PETScWrappers::MPI::Vector, dealii::hp::DoFHandler<3, 3> >::~SolutionTransfer() »
/home/claire/Documents/Doctorat/Simulations/thermal_distr/thermal_distr1.cc:655 : undefined reference to « dealii::parallel::distributed::SolutionTransfer<3, dealii::PETScWrappers::MPI::Vector, dealii::hp::DoFHandler<3, 3> >::~SolutionTransfer() »
Here are the lines that trigger the issue:
parallel::distributed::SolutionTransfer<dim, LA::MPI::Vector, hp::DoFHandler<dim> > solution_trans(dof_handler);
solution_trans.prepare_for_coarsening_and_refinement(all_in);
triangulation.execute_coarsening_and_refinement();
set_active_fe_indices();
dof_handler.distribute_dofs(fe_collection);
solution_trans.interpolate( all_out);
all_in and all_out being two std::vector< LA::MPI::Vector *>
Does anyone have any idea about the origin of this problem?
If you ever need any more information, please feel free to ask.
Thanks a lot in advance,
Claire