Thanks Wolfgang,

I think you are correct!  I just tried to use petsc_full_matrix instead and 
it linked no problem!

On Monday, November 9, 2020 at 5:25:30 PM UTC-6 Wolfgang Bangerth wrote:

> On 11/9/20 2:49 PM, Daniel Arndt wrote:
> > 
> > Undefined symbols for architecture x86_64:
> >   "dealii::PETScWrappers::SparseMatrix::SparseMatrix<int>(int const&, 
> bool)", 
> > referenced from:
>
> There is no such function -- the linker tells you that, but it's unclear 
> to me 
> how it is referenced in test::Operator::Operator(int const &).
>
> I think that what is happening is that you are trying to call
> template <typename SparsityPatternType>
> explicit SparseMatrix(const SparsityPatternType &sparsity_pattern,
> const bool preset_nonzero_locations = true);
> with an int instead of a sparsity pattern as first argument. That's not 
> going 
> to work.
>
> Best
> W.
> -- 
> ------------------------------------------------------------------------
> Wolfgang Bangerth email: bang...@colostate.edu
> www: http://www.math.colostate.edu/~bangerth/
>
>

-- 
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/ab604e0a-80a7-48ce-a838-979037ef8eban%40googlegroups.com.

Reply via email to