Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDF5 output capability #7

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

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.

None yet

1 participant