[petsc-users] Store only Matrix Structure (Binary)
Matthew Knepley
knepley at gmail.com
Mon Jul 16 16:44:00 CDT 2012
On Mon, Jul 16, 2012 at 3:47 PM, Thomas Hisch <t.hisch at gmail.com> wrote:
> Hello list,
>
> is it possible to store just the nonzero pattern of a large (sparse)
> matrix in a file? If I write the whole matrix to disk
> (PetscViewerBinaryOpen/MatView) its size is about 30MB. As I only need
> its structure it would be a good idea to load and store just the
> non-zero pattern of the matrix.
>
> Has anyone tried to do that and are there corresponding functions in
> petsc-dev?
>
This is not in PETSc currrently. It would not be hard to do by commenting
out the
value parts in the source.
Matt
> Regards
> Thomas
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120716/e7d65729/attachment.html>
More information about the petsc-users
mailing list