Undefined reference to p::d::SolutionTransfer with hp::DoFHandler

25 views
Skip to first unread message

Claire

unread,
Jan 12, 2018, 1:55:31 PM1/12/18
to deal.II User Group
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



Bruno Turcksin

unread,
Jan 12, 2018, 2:05:08 PM1/12/18
to deal.II User Group
Claire,


On Friday, January 12, 2018 at 1:55:31 PM UTC-5, Claire wrote:
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.
This is not working yet.  To quote Wolfgang "There are many steps left to make this work." See this issue on Github.

Best

Bruno
Reply all
Reply to author
Forward
0 new messages