<div class="gmail_quote">On Sat, Dec 3, 2011 at 14:31, Tim Gallagher <span dir="ltr"><<a href="mailto:tim.gallagher@gatech.edu">tim.gallagher@gatech.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I was looking for the 'PETSc' way of doing it, something that lets you call VecView(vec, viewer) that generates the heavy data and XML file together. If there is not interest in that approach, I can just write the routines to make the XML in the code. </blockquote>
</div><br><div>I don't know if Matt has that in PyLith, or if they use a less composable interface.</div><div><br></div><div>Binary-appended VTK does work this way. You can write several vectors to a file and they are held in memory until you close the file. The implementation is memory-scalable in the sense that there are no gathers of global state onto one process.</div>
<div><br></div><div>Unfortunately, you cannot write many time steps to the same file, so you should usually create a separate file per step. (Lots of vis software likes this, so it's not a terrible restriction, although I don't like it.)</div>