[petsc-users] some beginner questions : matrix multiplication

lixin chu lixin_chu at yahoo.com
Tue Jul 19 09:01:35 CDT 2016


Hello,I am new to PETsc, and I am looking for a library to support matrix multiplication. I have several questions and would like to confirm:
1. From MatMatMult API, for C=A*B, I assume we can support mixed sparse and dense matrix, i.e., either A or B can be dense; similarly, MatMatMatMult (A*B*C) can support A and C sparse, and B is dense.
2. We can also use mixed data type for MatMatMult/MatMatMatMult, for example, A is complex, double, and B is double.
3. Is there a way to estimate the total working memory required for MatMatMult/MatMatMatMult, given A,B and C information (like dimensions, and total none zero elements, data type) 4. do we have any performance/memory usage data when compared with other sparse matrix multiplication solutions. for example. PSBLAS ?
thank you very much,
lixin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160719/c961dcb0/attachment.html>


More information about the petsc-users mailing list