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

remora.check_int_time

how often (in simulation time

in seconds) to write restart files

Real \(> 0\)

-1.0

remora.file_min_digits

Minimum number of digits

in iteration number appended to

plotfile and checkpoint files

Integer >= 0

5

Note: If both check_int and check_int_time are set, plotfile output will occur check_int steps or check_int_time simulation seconds after the last plotfile, whichever happens first.

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

  • remora.restart = chk_run00061