-
Notifications
You must be signed in to change notification settings - Fork 52
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
Feature request: partition-independant checkpoint/restart #935
Comments
Lately, we have been thinking on partition-independent mesh and mesh-related data I/O on the p4est side and we would be happy to share future functionalities. One future possibility to achieve the capabilities described by @dutkalex is scda, a serial-equivalent format for parallel I/O, which will be available in t8code's submodule libsc. A first file format specification is described in this preprint. A more recent version of the scda API can be found in libsc. We will update the preprint to the adjusted API soon. The file format comes with partition-independence and is also designed to leverage scalable parallel I/O operations by using MPI I/O.
The parallel output to disk of all mesh elements can be done by The scda file format allows a file to consist of an arbitrary number of so-called file sections of different types (section 2 in the preprint). In particular, one could write mesh-related application data to the same file. Moreover, one can write global data to the a file (cf. section 2.4 in the preprint and All in all, we think that scda will enable checkpoint/restart functionalities in t8code without too much required addition in t8code. We welcome feedback, discussions and suggestions to further specify scda where required! |
@tim-griesbach this looks very promising! However, this is completely out of the scope of my personal expertise, but from an outside perspective I think it would be great if such a support was provided in libsc, because it would benefit more that just t8code's users |
Hi!
Another question about t8code's capabilities: would it be possible to dump a file on disk with the current state of the mesh adaptation, in order to eventually resume mesh adaptation later?
Such a feature would be very useful IMO since it would broaden the scope of t8code uses and enable the development of efficient AMR-aware tools for solvers already using t8code. For example:
It seems to me like such a feature could boil down to dumping into a single file all the Morton keys of the elements of the refined mesh, in the order defined by the space-filling curve, as all the needed information to rebuild the mesh could be retrieved quite easily with the combination of the original coarse mesh file and the "SFC file". What are your thoughts about this?
Thanks for the great work you guys do with t8code
Best regards,
Alex
The text was updated successfully, but these errors were encountered: