<div class="gmail_quote">On Fri, Nov 25, 2011 at 02:51, Dominik Szczerba <span dir="ltr">&lt;<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":fs">Do matrices and vectors saved to a file with MatView and VecView store<br>
only their values or also metadata like local sizes, non-zero<br>
structure, nnz preallocation, ...?</div></blockquote></div><br><div>It stores size and number of nonzeros per row, but not &quot;local sizes&quot;. You can read in on a different number of processes. The format is described in the man pages:</div>
<div><br></div><div><a href="http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatLoad.html">http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatLoad.html</a></div><div><a href="http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Vec/VecLoad.html">http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Vec/VecLoad.html</a></div>