https://github.com/geodynamics/citcoms
Revision f8acab5ee26ea44ba156ff874f1b0a6df5bc3dc2 authored by Eh Tan on 24 April 2007, 22:16:50 UTC, committed by Eh Tan on 24 April 2007, 22:16:50 UTC
The checkpoint file is called [datafile].chkpt.[rank] and is outputed with an 
interval of controller.checkpointFrequency. Before writing the checkpoint file,
the previous checkpoint file (if exists) is renamed to 
[datafile].chkpt.[rank].bak.

To read back the checkpoint file, set solver.ic.restart=on. The old checkpoint
file, [datafile_old].chkpt.[rank] will be read in. The timestep information is
stored in the checkpoint file. There is no need to specify solution_cycles_init,
as the old way of restarting.

The old way of restarting (read in temperature from the velo files) will still
be available through solver.ic.tic_method=-1. (To do.)

Several things to do: clean up the old way of restarting tracers/composition,
documentation, does mat_control need checkpoints?

1 parent 7867dae
History
Tip revision: f8acab5ee26ea44ba156ff874f1b0a6df5bc3dc2 authored by Eh Tan on 24 April 2007, 22:16:50 UTC
Implemented writing and reading (binary) checkpoints.
Tip revision: f8acab5
File Mode Size
CitcomS
bin
etc
examples
lib
module
tests
visual
AUTHORS -rw-r--r-- 417 bytes
COPYING -rw-r--r-- 17.6 KB
ChangeLog -rw-r--r-- 354.5 KB
INSTALL -rw-r--r-- 9.1 KB
Makefile.am -rw-r--r-- 1.4 KB
NEWS -rw-r--r-- 4.1 KB
README -rw-r--r-- 354 bytes
configure.ac -rw-r--r-- 3.5 KB
setup.py -rw-r--r-- 788 bytes

README

back to top