<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>You do need HDF5 to store "heavy" data, but XDMF can also store data in the XML file as "light" data for small datasets. <br><br>Inclusion in PETSc could go two ways -- the first would be using the XDMF library which handles reading/writing both light and heavy data. Or, the XDMF viewer can be built on top of the HDF5 viewer already there. In that case, the heavy data will be written using the HDF5 viewer and then there would be code to write the XML data in the XDMF format. This is the approach we use in our code -- we write the HDF5 files using the HDF5 API, then write with standard IO the XML file. <br><br>Still pulling the pylith code to see what they do.<br><br>Tim<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Jed Brown" <jedbrown@mcs.anl.gov><br><b>To: </b>"For users of the development version of PETSc" <petsc-dev@mcs.anl.gov><br><b>Cc: </b>gtg085x@mail.gatech.edu<br><b>Sent: </b>Saturday, December 3, 2011 3:00:32 PM<br><b>Subject: </b>Re: [petsc-dev] XDMF viewers<br><br><div class="gmail_quote">On Sat, Dec 3, 2011 at 13:41, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>There is a working XDMF viewer in <a href="http://geodynamics.org/cig/software/pylith" target="_blank">http://geodynamics.org/cig/software/pylith</a> but I have not moved it over</div>
<div>yet. Jed maintains that the appended binary is better.</div></blockquote></div><br><div>I don't have a problem with XDMF, but you need HDF5 to use it. Appended binary has many stupid limitations, not least of which is that you can't write anything into the file until you have everything that you will write into the file (or pick some arbitrary maximum size for the header). At least HDF5 manages that for you.</div>
</div><br></div></body></html>