[petsc-users] MatMatMult involving MPIAIJ and MATNEST

Jed Brown jed at jedbrown.org
Mon May 11 12:58:36 CDT 2015


Bikash Kanungo <bikash at umich.edu> writes:

> The physics of the problem requires evaluation of M^{-1} from four
> sub-matrices. That's why I'm constrained to use it as MATNEST. The other
> option seems to be MatGetLocalSubMatrix but it seemed easier for me to go
> with MATNEST (particularly to avoid the local index sets).

If you need a matrix-matrix multiply, then artificial intermediate
scales will tend to reduce performance rather than improving it.

We can implement MatMatMult_Nest_Nest, but based on what you've said, I
doubt it's a good fit for your problem.  MatMatMult_Nest_MPIAIJ would
likely perform worse than MatMatMult_MPIAIJ_MPIAIJ.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150511/9e84d89e/attachment.pgp>


More information about the petsc-users mailing list