Checkpoint / Restart

REMORA has a standard sort of checkpointing and restarting capability and uses the native AMReX format for reading and writing checkpoints. In the inputs file, the following options control the generation of checkpoint files (which are really directories):

Writing the Checkpoint “Files”

List of Parameters

Parameter

Definition

Acceptable Values

Default

remora.check_file

prefix for restart files

String

chk

remora.check_int

how often (by level-0 time steps) to write restart files

Integer \(> 0\)

-1

Restarting

Parameter

Definition

Acceptable Values

Default

remora.restart

name of the file (directory) from which to restart files

String

not used if not set

Examples of Usage

  • remora.check_file = chk_run

  • remora.check_int = 10

    means that restart files (really directories) starting with the prefix “chk_run” will be generated every 10 level-0 time steps. The directory names will be chk_run00000, chk_run00010, chk_run00020, etc.

To restart from chk_run00061,for example, then set

  • amr.restart = chk_run00061