[petsc-users] Question on MatView and VecView

Jed Brown jedbrown at mcs.anl.gov
Fri Nov 25 08:30:12 CST 2011


On Fri, Nov 25, 2011 at 02:51, Dominik Szczerba <dominik at itis.ethz.ch>wrote:

> Do matrices and vectors saved to a file with MatView and VecView store
> only their values or also metadata like local sizes, non-zero
> structure, nnz preallocation, ...?
>

It stores size and number of nonzeros per row, but not "local sizes". You
can read in on a different number of processes. The format is described in
the man pages:

http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatLoad.html
http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Vec/VecLoad.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111125/c0e92c25/attachment.htm>


More information about the petsc-users mailing list