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" <[email protected]>
> To: [email protected]
> 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
>

Reply via email to