<div dir="ltr">Hi Erik, Ian, Roland<div><br></div><div>Thanks so much for your replies!</div><div><br></div><div>Erik - this sounds like the easiest way. I did notice these utilities, however I can't find documentation on how to use them. Am I missing it somewhere?</div><div><br></div><div>Ian - yes, I did see that loop. I added a print statement inside it, and it looks like the code isn't even going into that loop (with out_timesteps_per_file=1 of course). I don't see any files with the "iter" suffix, and I am definitely looking at a new simulation directory.</div><div>I'll have a more in depth look at this in the coming weeks. Thanks!<br></div><div><br></div><div>Roland - thanks for your suggestion. I'll give this a go if the post-processing method doesn't work for me.</div><div><br></div><div>Again, thanks all for you help.</div><div>Cheers</div><div>Hayley</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 June 2017 at 01:55, Erik Schnetter <span dir="ltr"><<a href="mailto:schnetter@cct.lsu.edu" target="_blank">schnetter@cct.lsu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hayley<div><br></div><div>The simplest way would be to post-process the HDF5 files after the simulation has finished. HDF5 comes with tools that manipulate HDF5 files, e.g. adding/removing compression, and also copying or selecting objects from one file to another. You can also use this to combine output from all processes into a single file. For post-processing, having one file per variable (!) and iteration is often the most convenient.</div><div><br></div><div>-erik</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Jun 20, 2017 at 9:04 AM, Hayley Macpherson <span dir="ltr"><<a href="mailto:hayley.macpherson@monash.edu" target="_blank">hayley.macpherson@monash.edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="auto">Hello,</div><div dir="auto">I am using the Einstein Toolkit for cosmological simulations, and would like to ask a question regarding my HDF5 3D output. </div><div dir="auto">Currently I am outputting all 3D snapshots to one HDF5 file (as per default). I would like to have my output as separate files for each time snapshot, to help with ease of copying and visualisation in post processing. </div><div dir="auto"><br></div><div dir="auto">I found the following parameter in IOUtil, and changed it accordingly for a simulation:</div><div dir="auto">IO::out_timesteps_per_file = 1</div><div dir="auto">However this made no difference to my output, I still had multiple time snapshots in the one file. </div><div dir="auto"><br></div><div dir="auto">Is there another way to separate my 3D HDF5 output into one file per snapshot? </div><div dir="auto">Any help anyone can offer would be much appreciated! </div><div dir="auto"><br></div><div dir="auto">Kind regards,</div><div dir="auto">Hayley Macpherson </div>
<br></div></div>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@einsteintoolkit.org" target="_blank">Users@einsteintoolkit.org</a><br>
<a href="http://lists.einsteintoolkit.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.einsteintoolkit.o<wbr>rg/mailman/listinfo/users</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-8846030203672080146gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Erik Schnetter <<a href="mailto:schnetter@cct.lsu.edu" target="_blank">schnetter@cct.lsu.edu</a>><br><a href="http://www.perimeterinstitute.ca/personal/eschnetter/" target="_blank">http://www.perimeterinstitute.<wbr>ca/personal/eschnetter/</a></div><div><br></div></div></div>
</font></span></div>
</blockquote></div><br></div>