[petsc-users] The product of two MPIDENSE matrices

Hong Zhang hzhang at mcs.anl.gov
Sat Sep 14 20:22:39 CDT 2013


Joon :

> Also, Is there any way to calculate C = A^T x B (A: MPIAIJ, B: MPIDENSE,
> c:MPIAIJ)?
> I just use the official version of PETSC.
>
Yes, see  MatTransposeMatMult_MPIAIJ_MPIDense() in file
petsc/src/mat/impls/aij/mpi/mpimattransposematmult.c

Hong


>
>
> ----- Original Message -----
> From: "Joon Hee Choi" <choi240 at purdue.edu>
> To: petsc-users at mcs.anl.gov
> Sent: Saturday, September 14, 2013 1:47:50 AM
> Subject: [petsc-users] The product of two MPIDENSE matrices
>
> Hello,
>
> I want to calculate M = C x C^T. C is a MPIDENSE matrix.
> I tried the calculation with MatTransposeMatMult (C, C,
> MAT_INITIAL_MATRIX, PETSC_DEFAULT, &M), but it did not support MPIDENSE.
> Is there any method to calculate the product of two MPIDENSE matrices?
>
> Thanks,
> Joon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130914/c0d17d08/attachment.html>


More information about the petsc-users mailing list