[petsc-users] Extracting data from a Petsc matrix

hsahasra@purdue.edu hsahasra at purdue.edu
Sat Jul 13 10:52:34 CDT 2013


Hi,

I am working on solving a system of linear equations with square matrix. I'm first factoring the matrix using LU decomposition.

I want to do the LU decomposition step using MAGMA on GPUs. MAGMA library implements LAPACK functions on a CPU+GPU based system.

So my question is, how do I extract the data from a Petsc Mat so that it can be sent to the dgetrf routine in MAGMA.

Is there any need for duplicating the data for this step?

Thanks!
Harshad

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130713/f7e28c72/attachment.html>


More information about the petsc-users mailing list