Plotfiles vs. Checkpoint files #4185
Unanswered
RadekPecher
asked this question in
Q&A
Replies: 1 comment 1 reply
-
My take on why they are different: they serve different purposes and we often want to output them at different frequencies and with different data. Plotfiles can have derived data in them, which we make use of a lot, to compute some state on the grid that isn't carried by the code. We typically also output plotfiles at fixed simulation time intervals (since we want to make smooth animations) and output checkpoint files at fixed step intervals (since we want to ensure that we output a checkpoint in a queue window when running on a supercomputer). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to understand why AMReX supports two grid/particle output formats, one devoted to plotting (plotfiles) while the other to restart runs (checkpoint files). It seems a bit wasteful, hence I plan to use just one format for both plotting and restarts. But when I tried that, there were issues. Plotfiles appear to be partially supporting restarts (see e.g.
Amr::restart_pltfile
) but I assume they might be missing some data required for restarts (right?). Whereas checkpoint files can't be imported into ParaView, which I'm using for my results visualisation. Could you please explain? Many thanks.Beta Was this translation helpful? Give feedback.
All reactions