[petsc-users] output parallel matrix

recrusader recrusader at gmail.com
Thu May 31 13:33:22 CDT 2012


Dear Barry,

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++?

Thanks a lot,
Yujie

On Thu, May 31, 2012 at 1:31 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
> On May 31, 2012, at 1:29 PM, recrusader wrote:
>
> > Dear PETSc developers,
> >
> > I am trying to output a parallel matrix using MatView in ASCII format.
> To my understanding, PETSc will first get this matrix at one processor and
> output it.
> > In my case, it is out of memory. I am wondering whether there is any
> method to output this matrix.
> >
> > Thanks a lot.
> > Yujie
>
>     You can never use ASCII output for a large matrix. Can you use the
> PETSc binary output?
>
>    Barry
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120531/74be9750/attachment.html>


More information about the petsc-users mailing list