[petsc-users] Persistence of sparse matrices.

Matthew Knepley knepley at gmail.com
Mon Jan 25 11:25:52 CST 2010


I think you want to Viewer technology.

  Matt

On Mon, Jan 25, 2010 at 11:23 AM, Don Pellegrino <don at drexel.edu> wrote:

> I would like to create a persistent sparse matrix.  PETSc's
> MatCreateSeqAIJ appears to be a useful way to instantiate a sparse
> matrix structure in memory
> [
> http://cluster.ischool.drexel.edu/~st96wym4/flumap/cgit/cgit.cgi/exp007/tree/src/assign/assign_blast_scores.c?id=72edf83cbac32ea26f056ae85373ad7179707333<http://cluster.ischool.drexel.edu/%7Est96wym4/flumap/cgit/cgit.cgi/exp007/tree/src/assign/assign_blast_scores.c?id=72edf83cbac32ea26f056ae85373ad7179707333>
> ].
>  I would like to be able to write the structure out to disk and reload
> it during later runs so that I can grow it incrementally.  My project
> makes use of HDF5 and that seems to be a feasible technology for
> saving and loading the matrix.  Are routines for saving and loading a
> sparse matrix already available or would I need to write my own?
>



-- 
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/20100125/5c9f178c/attachment.htm>


More information about the petsc-users mailing list