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

Fixes virtual file merge logic & removes deprecated distributed set merge logic #206

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

evanhanders
Copy link
Contributor

This PR addresses #205 and updates post.py to reflect Dedalus' new output paradigm by removing deprecated functions for merging partial files. Functionality for merging partial files => complete files after a simulation is updated. Tests have been added for each of the new parallel output types ('virtual', 'mpio', 'gather').

All output and parallel output tests now pass. There are some failing ncc tests, but those should be unaffected by these commits.

@kburns
Copy link
Member

kburns commented Jun 22, 2022

It should be possible to simply merge virtual datasets into concrete datasets within the existing set file using the merge_task method on the new H5VirtualFileHandler class. I think this should remove the need for most of the logic in post.py, including creating a new file, copying scales, etc.

@evanhanders evanhanders marked this pull request as draft June 22, 2022 15:32
@evanhanders
Copy link
Contributor Author

Hi Keaton, I didn't know about that method! I'll take a look and try to get that implemented. I've marked the PR as a draft for now.

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

2 participants