On Sat, Dec 3, 2011 at 2:39 PM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov">jedbrown@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote">On Sat, Dec 3, 2011 at 14:31, Tim Gallagher <span dir="ltr"><<a href="mailto:tim.gallagher@gatech.edu" target="_blank">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></blockquote><div><br></div><div>Yes, you can write several vectors using VecView(), AND you can do timesteps :)</div>
<div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><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>

</blockquote></div><br><br clear="all"><div><br></div>-- <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>