[petsc-users] MPI and Matrix Sharing

Franco Milicchio fmilicchio at me.com
Wed Apr 26 09:25:51 CDT 2017

> On Apr 26, 2017, at 4:02pm, Matthew Knepley <knepley at gmail.com> wrote:
> On Wed, Apr 26, 2017 at 7:40 AM, Franco Milicchio <fmilicchio at me.com <mailto: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, Matthew, glad to hear that!

Franco Milicchio <fmilicchio at me.com>

Department of Engineering
University Roma Tre

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170426/dab901aa/attachment.html>

More information about the petsc-users mailing list