[petsc-users] Petsc HDF5. Storing matrices and adding attributes

Analabha Roy hariseldon99 at gmail.com
Sun Sep 8 10:00:47 CDT 2013


Hi all,

Firstly:
I need to store a matrix in HDF5. I was reading through petsc manual pages
and examples and only saw information for storing vectors in HDF5. Using
MatView() on a HDF5 viewer doesn't work. Is it even possible?

For now, I'm working around by extracting the columns from my Mat and
storing them as vecs by looping  VecView().


Secondly:
Is there a way to add attributes to HDF5 data using the PetSc API? I didn't
see any docs on this.



Thanks in advance,
AR

-- 
---
*Analabha Roy*
C.S.I.R <http://www.csir.res.in>  Senior Research
Associate<http://csirhrdg.res.in/poolsra.htm>
Saha Institute of Nuclear Physics <http://www.saha.ac.in>
Section 1, Block AF
Bidhannagar, Calcutta 700064
India
*Emails*: daneel at physics.utexas.edu, hariseldon99 at gmail.com
*Webpage*: http://www.ph.utexas.edu/~daneel/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130908/d6b8d241/attachment.html>


More information about the petsc-users mailing list