Thanks a lot.

Joon

----- Original Message -----
From: "Hong Zhang" <[email protected]>
To: "Joon Hee Choi" <[email protected]>
Cc: "PETSc users list" <[email protected]>
Sent: Saturday, September 14, 2013 9:22:39 PM
Subject: Re: [petsc-users] The product of two MPIDENSE matrices



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