That worked Martin. Thanks a lot.

I actually made right_hand_side back to a Vector<double> and it compiles
fine.

praveen

On Mon, Mar 14, 2011 at 9:18 PM, Martin Kronbichler <
[email protected]> wrote:

>
> > $ make
> > ============================ Remaking Makefile.dep
> > ==============debug========= claw.cc  ->  claw.g.o
> > ==============debug========= integrator.cc  ->  integrator.g.o
> > ============================ Linking step-33
> > Undefined symbols:
> >   "void
> >
> dealii::ConstraintMatrix::distribute_local_to_global<dealii::TrilinosWrappers::SparseMatrix>(dealii::FullMatrix<double>
> const&, std::vector<unsigned int, std::allocator<unsigned int> > const&,
> std::vector<unsigned int, std::allocator<unsigned int> > const&,
> dealii::TrilinosWrappers::SparseMatrix&) const", referenced from:
> >
> >
> dealii::MeshWorker::Assembler::MatrixSimple<dealii::TrilinosWrappers::SparseMatrix>::assemble(dealii::FullMatrix<double>
> const&, std::vector<unsigned int, std::allocator<unsigned int> > const&,
> std::vector<unsigned int, std::allocator<unsigned int> > const&)in claw.g.o
>
> Ok, this looks like there are some instantiations missing in
> source/lac/constraint_matrix.cc. Can you try to add the lines
>
> ONLY_MATRIX_FUNCTIONS(TrilinosWrappers::SparseMatrix);
> ONLY_MATRIX_FUNCTIONS(TrilinosWrappers::BlockSparseMatrix);
>
> in line 2469 in source/lac/constraint_matrix.cc, recompile deal.II and
> try again?
>
> Best,
> Martin
>
>
>
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to