Dear Jed, I am sorry that I didn't explain my purpose clearly. The reason I output the matrix is to reformat the matrix since I need to import the matrix to another program. Therefore, I need to first output the matrix and reformat it using other codes. if I output the matrix using PETSc Binary format, I need to find a method to import it to that program not using MatLoad.
thanks, Yujie On Thu, May 31, 2012 at 1:34 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote: > On Thu, May 31, 2012 at 1:33 PM, recrusader <recrusader at gmail.com> wrote: > >> Since I need to further process the matrix using my codes. I can easily >> check the matrix using ASCII format. How to read a matrix in PETSc binary >> format using c/c++? > > > MatLoad() > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120531/e2e53666/attachment.html>
