[Users] HDF5 3D output separate time files
hayley.macpherson at monash.edu
Thu Jun 22 21:02:17 CDT 2017
Hi Erik, Ian, Roland
Thanks so much for your replies!
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
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.
I'll have a more in depth look at this in the coming weeks. Thanks!
Roland - thanks for your suggestion. I'll give this a go if the
post-processing method doesn't work for me.
Again, thanks all for you help.
On 23 June 2017 at 01:55, Erik Schnetter <schnetter at cct.lsu.edu> wrote:
> 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.
> On Tue, Jun 20, 2017 at 9:04 AM, Hayley Macpherson <
> hayley.macpherson at monash.edu> wrote:
>> I am using the Einstein Toolkit for cosmological simulations, and would
>> like to ask a question regarding my HDF5 3D output.
>> 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
>> I found the following parameter in IOUtil, and changed it accordingly for
>> a simulation:
>> IO::out_timesteps_per_file = 1
>> However this made no difference to my output, I still had multiple time
>> snapshots in the one file.
>> Is there another way to separate my 3D HDF5 output into one file per
>> Any help anyone can offer would be much appreciated!
>> Kind regards,
>> Hayley Macpherson
>> Users mailing list
>> Users at einsteintoolkit.org
> Erik Schnetter <schnetter at cct.lsu.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users