[petsc-users] output parallel matrix
Barry Smith
bsmith at mcs.anl.gov
Thu May 31 13:42:17 CDT 2012
Right a small standalone sequential PETSc program that does a MatLoad() and then you can print it out anyway you want from that sequential program.
Barry
On May 31, 2012, at 1:40 PM, recrusader wrote:
> 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()
>
More information about the petsc-users
mailing list