[petsc-users] The product of two MPIDENSE matrices

Joon Hee Choi choi240 at purdue.edu
Sun Sep 15 04:25:10 CDT 2013


Thanks a lot.

Joon

----- Original Message -----
From: "Hong Zhang" <hzhang at mcs.anl.gov>
To: "Joon Hee Choi" <choi240 at purdue.edu>
Cc: "PETSc users list" <petsc-users at mcs.anl.gov>
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" < 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 



More information about the petsc-users mailing list