Hello Hayley, > Is there another way to separate my 3D HDF5 output into one file per > snapshot? One file per snapshot with output from all processors is likely not (easily) possible. Similarly there is currently no code in CarpetIOHDF5 for creating a new file every N output cycles.
> Any help anyone can offer would be much appreciated!
You'd have to edit
repos/carpet/CarpetIOHDF5/src/OutputSlice.cc
(for out3d_vars output). Simplest would be to edit the basefilename
that you can see in line 441:
ostringstream basefilenamebuf;
basefilenamebuf << my_out_slice_dir << "/" << alias;
const string basefilename = basefilenamebuf.str();
as long as you choose a new filename, everything should be fine.
Something like (untested!):
basefilenamebuf << ".it_" << cctk_iteration
should do the trick (one file per iteration and with the obvious
changes for multiple iterations per file).
Yours,
Roland
--
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://pgp.mit.edu .
pgpYxzONrMkFN.pgp
Description: OpenPGP digital signature
_______________________________________________ Users mailing list [email protected] http://lists.einsteintoolkit.org/mailman/listinfo/users
