On Sat, Jun 30, 2012 at 9:32 PM, Dave Nystrom <dnystrom1@comcast.net> wrote:
Thanks.  I don't have access or experience with Matlab so that seems not a
good option.  I'm fairly new to Python and have never done anything with the
petsc python interface.  But that could be an option.  Once python reads in a
petsc binary matrix, does it then have a function to write out the matrix in
matrix market format?  Or would I need to write the python code to do that?

Scipy has routines to write matrix market files.

PETSc intentionally does not provide this routine because MatrixMarket is such a terrible format. We will give you the gun, but if you want to bolt it to your foot, you have to find your own bolts.