[petsc-users] MPI and Matrix Sharing

Matthew Knepley knepley at gmail.com
Wed Apr 26 09:02:00 CDT 2017


On Wed, Apr 26, 2017 at 7:40 AM, Franco Milicchio <fmilicchio at me.com> wrote:

> Dear all,
>
> I am currently implementing a FEM software that runs on single hosts, as
> the DOF number is not big enough to distribute it. However, I need to solve
> several right hand sides, and to speed the process up, I’d like to share
> the matrix between processes, so that I could reuse the factorization.
>
> My question is simple: is this a viable approach?
>

Yes. This will happen automatically if you do not change the matrix in the
KSP.

  Thanks,

     Matt


> Thanks,
> Franco
> /fm
>
> --
> Franco Milicchio <fmilicchio at me.com>
>
> Department of Engineering
> University Roma Tre
> https://fmilicchio.bitbucket.io/
>
>


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170426/f2788ff4/attachment-0001.html>


More information about the petsc-users mailing list