next up previous contents index
Next: Trapping signals Up: Auxilliary Commands Previous: get_vars/data_server   Contents   Index



model.checkpoint filename

model.restart filename

These commands dump the contents of the model's variables into a file, and correspondingly reload the model's state variables from the file, in order to implement checkpoint-restart for a batch, or long running environment. These commands are defined in the TCL_obj_t class, and can be overridden if desired.

By setting the variable model.xdr_check to 1 (default value is zero), the checkpoint is written out using XDR routines, so the checkpoint file can be restarted on a computer with a different processor.

Russell Standish 2016-09-02