[petsc-users] An issue of extraction of factorization matrices in sparse direct solver

Matthew Knepley knepley at gmail.com
Sun Oct 23 05:38:27 CDT 2022


On Sun, Oct 23, 2022 at 2:58 AM 赵刚 <zhaog6 at lsec.cc.ac.cn> wrote:

> Dear developers,
>
> I have another question. How can I get the L and U matrices and store them
> in a file when I call SuperLU through PETSc? Thanks.


SuperLU stores these matrices in its own format. If you want to do I/O with
them, you would probably have to
extract them from the Petsc Mat and call SuperLU I/O functions, if they
exist.

  Thanks,

     Matt


> Best Regards,
> Gang

-- 
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-users/attachments/20221023/12bd3ea5/attachment.html>


More information about the petsc-users mailing list