[petsc-users] Output matrix in CSR format
Jed Brown
jed at jedbrown.org
Tue Jan 20 11:31:57 CST 2015
Chung-Kan Huang <ckhuangf at gmail.com> writes:
> Hi,
>
> I am trying to output the matrix but when I looked at
> PetscViewerSetFormat It doesn't seem to provide ways to output matrix in
> CSR format.
>
> Am I looking at the right place?
It is a (binary) CSR format. There is no standard "CSR file format".
The closest might be MatrixMarket, which is a profoundly terrible
format. You can read the PETSc binary format using the Python or
MATLAB/Octave scripts distributed with PETSc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150120/ab7b773a/attachment.pgp>
More information about the petsc-users
mailing list