10000 Fixes virtual file merge logic & removes deprecated distributed set merge logic by evanhanders · Pull Request #206 · DedalusProject/dedalus · GitHub
[go: up one dir, main page]

Skip to content

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.

2 participants
0