Hi,

I have just done a svn checkout to get some changes made since the last version 
was released.  I have just compiled some of my code that worked fine before the 
checkout, and I got an error that I'm not sure how to fix!  The error output is:

undefined reference to `void 
dealii::DoFTools::count_dofs_per_block<dealii::DoFHandler<2, 2> 
>(dealii::DoFHandler<2, 2> const&, std::vector<unsigned int, 
std::allocator<unsigned int> >&, std::vector<unsigned int, 
std::allocator<unsigned int> >)'
collect2: ld returned 1 exit status
make: *** [step-31] Error 1


If someone could give me an idea of where the error may be originating from, 
that would be really helpful :)


There was also a problem with the file 
deal.II/include/deal.II/lac/constraint_matrix.h which I fixed by reverting to 
the original (I have pasted the error message for that below, just in case 
anyone is interested!)

Hope I've posted this to the correct list - please do excuse me if I haven't!

Thanks,

Katie Leonard


error message with svn version of 
deal.II/include/deal.II/lac/constraint_matrix.h :

void 
dealii::ConstraintMatrix::distribute_local_to_global<dealii::TrilinosWrappers::BlockSparseMatrix,
 dealii::TrilinosWrappers::BlockVector>(dealii::FullMatrix<double> const&, 
dealii::Vector<double> const&, std::vector<unsigned int, 
std::allocator<unsigned int> > const&, 
dealii::TrilinosWrappers::BlockSparseMatrix&, 
dealii::TrilinosWrappers::BlockVector&, bool) const':
/home/katie/deal.II/include/deal.II/lac/constraint_matrix.h:2076: undefined 
reference to `void 
dealii::ConstraintMatrix::distribute_local_to_global<dealii::TrilinosWrappers::BlockSparseMatrix,
 dealii::TrilinosWrappers::BlockVector>(dealii::FullMatrix<double> const&, 
dealii::Vector<double> const&, std::vector<unsigned int, 
std::allocator<unsigned int> > const&, 
dealii::TrilinosWrappers::BlockSparseMatrix&, 
dealii::TrilinosWrappers::BlockVector&, bool, 
dealii::internal::bool2type<true>) const'
step-31.g.o: In function `void 
dealii::ConstraintMatrix::distribute_local_to_global<dealii::TrilinosWrappers::BlockSparseMatrix>(dealii::FullMatrix<double>
 const&, std::vector<unsigned int, std::allocator<unsigned int> > const&, 
dealii::TrilinosWrappers::BlockSparseMatrix&) const':
/home/katie/deal.II/include/deal.II/lac/constraint_matrix.h:2054: undefined 
reference to `void 
dealii::ConstraintMatrix::distribute_local_to_global<dealii::TrilinosWrappers::BlockSparseMatrix,
 dealii::Vector<double> >(dealii::FullMatrix<double> const&, 
dealii::Vector<double> const&, std::vector<unsigned int, 
std::allocator<unsigned int> > const&, 
dealii::TrilinosWrappers::BlockSparseMatrix&, dealii::Vector<double>&, bool, 
dealii::internal::bool2type<true>) const'






DPhil student in Computational Biology,
The University of Oxford.
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to