Skip to content

HDF5 output capability#7

Open
emprice wants to merge 7 commits intoFARGO3D:mainfrom
emprice:feature/hdf5-output
Open

HDF5 output capability#7
emprice wants to merge 7 commits intoFARGO3D:mainfrom
emprice:feature/hdf5-output

Conversation

@emprice
Copy link

@emprice emprice commented Jan 30, 2024

HDF5 is a high-performance I/O library for scientific data. This output module produces exactly one file per run of FARGO3D, with optional compression, in an easy-to-use structured format. It includes all the time-varying fluid fields for all fluids (in the multifluid version), metadata for every array (shape and data type), and all the parameter values used in the run, attached at the root node as attributes. Combined with the Python bindings for HDF5, this has made analyzing output from my runs significantly easier. I hope it can be of use to someone else, and I'm happy to continue developing on this feature branch if the developers are interested in the new functionality.

emprice and others added 7 commits January 27, 2024 06:35
This was tricky to track down because the program would only stall for
certain numbers of communicators, and later than the call actually
causing the issue. For future reference, always check that the chunk
sizes are identical between MPI ranks!
At the request of the developers, making this change so that users
do not need to have HDF5 installed to compile FARGO3D. If the option
is selected, the appropriate source file and library are added to
the build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant