<div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 20 Jul 2018 at 12:34, Lawrence Mitchell <<a href="mailto:wence@gmx.li">wence@gmx.li</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear petsc-dev,<br>
<br>
I'm once again revisiting doing "proper" checkpoint-restart cycles.  I would like to leverage the existing PETSc stuff for this as much as possible, but I am a bit lost as to what is implemented, and what is missing.<br>
<br>
I have:<br>
<br>
- A (distributed) DMPlex defining the topology<br>
<br></blockquote><div><br></div><div>Not sure if it will be really useful, but I have some code I can share with you to save/load DMPlex objects using PETSc's native binary viewers (either stdio or MPI-IO). A minor (or big?) issue is that loads are sequential, you have to distribute/overlap afterwards, but this is the way it works with most mesh readers.<br></div><div><br></div><div>I should be really putting that code in PETSc, but...</div><div><br></div><div>1) It is most likely not 100% general, I'm not supporting the new DMField for coordinates.</div><div>2) Herr Prof. Matt seems to be in favor of all these fancy HDF5-based formats (<a href="https://xkcd.com/927/">https://xkcd.com/927/</a>)</div><div><br></div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Lisandro Dalcin<br>============<br>Research Scientist<br>Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)<br>Extreme Computing Research Center (ECRC)<br>King Abdullah University of Science and Technology (KAUST)<br><a href="http://ecrc.kaust.edu.sa/" target="_blank">http://ecrc.kaust.edu.sa/</a><br><br>4700 King Abdullah University of Science and Technology<br>al-Khawarizmi Bldg (Bldg 1), Office # 0109<br>Thuwal 23955-6900, Kingdom of Saudi Arabia<br><a href="http://www.kaust.edu.sa" target="_blank">http://www.kaust.edu.sa</a><br><br>Office Phone: +966 12 808-0459</div></div></div>