[petsc-dev] Segmentation faults in MatMatMult & MatTransposeMatMult

Matthew Knepley knepley at gmail.com
Wed Jan 16 08:16:35 CST 2019


On Wed, Jan 16, 2019 at 9:01 AM Jed Brown via petsc-dev <
petsc-dev at mcs.anl.gov> wrote:

> Pierre Jolivet via petsc-dev <petsc-dev at mcs.anl.gov> writes:
>
> > OK, I was wrong about MATAIJ, as Jed already pointed out.
> > What about BAIJ or Dense matrices?
>
> BAIJ (and SBAIJ) is handled by MatXAIJSetPreallocation.
>

Dense matrices don't need preallocation.

  Thanks,

    Matt
-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190116/6002bc60/attachment.html>


More information about the petsc-dev mailing list