I think you want to Viewer technology.<br><br> Matt<br><br><div class="gmail_quote">On Mon, Jan 25, 2010 at 11:23 AM, Don Pellegrino <span dir="ltr"><<a href="mailto:don@drexel.edu">don@drexel.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I would like to create a persistent sparse matrix. PETSc's<br>
MatCreateSeqAIJ appears to be a useful way to instantiate a sparse<br>
matrix structure in memory<br>
[<a href="http://cluster.ischool.drexel.edu/%7Est96wym4/flumap/cgit/cgit.cgi/exp007/tree/src/assign/assign_blast_scores.c?id=72edf83cbac32ea26f056ae85373ad7179707333" target="_blank">http://cluster.ischool.drexel.edu/~st96wym4/flumap/cgit/cgit.cgi/exp007/tree/src/assign/assign_blast_scores.c?id=72edf83cbac32ea26f056ae85373ad7179707333</a>].<br>
I would like to be able to write the structure out to disk and reload<br>
it during later runs so that I can grow it incrementally. My project<br>
makes use of HDF5 and that seems to be a feasible technology for<br>
saving and loading the matrix. Are routines for saving and loading a<br>
sparse matrix already available or would I need to write my own?<br>
</blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>