Dear Barry,<br><br>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++?<br><br>Thanks a lot,<br>Yujie<br><br>
<div class="gmail_quote">On Thu, May 31, 2012 at 1:31 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
On May 31, 2012, at 1:29 PM, recrusader wrote:<br>
<br>
> Dear PETSc developers,<br>
><br>
> 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.<br>
> In my case, it is out of memory. I am wondering whether there is any method to output this matrix.<br>
><br>
> Thanks a lot.<br>
> Yujie<br>
<br>
</div></div> You can never use ASCII output for a large matrix. Can you use the PETSc binary output?<br>
<span class="HOEnZb"><font color="#888888"><br>
Barry<br>
<br>
<br>
</font></span></blockquote></div><br>