[petsc-users] about ksp

Jed Brown jedbrown at mcs.anl.gov
Mon Aug 29 17:01:21 CDT 2011


On Mon, Aug 29, 2011 at 16:49, Likun Tan <likunt at andrew.cmu.edu> wrote:

> It is 27*27 with 343 non-zeros, i use LU for all the linear equations.


This is just too small and not sparse enough for sparse linear algebra to
pay off. Create the same serial dense matrix redundantly on every process,
factor it, put all your right hand sides for that process in a matrix B, and
call MatMatSolve().
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110829/2d6b6f9a/attachment-0001.htm>


More information about the petsc-users mailing list