#417: Allow SimFactory 1 to use a shared checkpoints directory -------------------------+-------------------------------------------------- Reporter: hinder | Owner: mthomas Type: enhancement | Status: new Priority: minor | Milestone: Component: SimFactory | Version: Keywords: | -------------------------+-------------------------------------------------- SimFactory 1 currently assumes that checkpoints are written to a subdirectory of the restart directory (output-NNNN). If you have a parameter file which uses checkpoint_dir = "../checkpoints" to have a shared checkpoint directory between different restarts, you cannot use it with simfactory 1.
The attached patch fixes this in a conservative way. If there are no checkpoint files found under the restart directory, it looks for a directory called "checkpoints" in the simulation directory. If it finds checkpoint files in there, then it enables recovery but disables checkpoint file hardlinking.
I don't know if we want to commit this, but it might be useful to someone if they have a simulation using a shared checkpoint directory which they need to recover.