On Sat, Jun 30, 2012 at 9:17 PM, Dave Nystrom <dnystrom1@comcast.net> wrote:
>From the FAQ, I see that src/mat/examples/tests/ex72.c provides an example of
reading in a matrix system in matrix market format and then exporting it in
petsc sparse format for the serial case.

Is there an example of how to read in a matrix system in kspviewbinary format
and then write it out in matrix market format for the serial case?

I suggest doing it with Python or Matlab, either of which can read PETSc binary matrices.