...
Continuing a run using NCAR's "branch" utility and the run_acme.csh script:
NOTE: I got this method to work on a simple test case, but it seems to fail for more complex cases and hence I don't recommend it.
...
In order to create a branch run, you must have an already-completed run you want to branch from. This run must have run long enough to produce restart files and rpointer files. You can branch from this run using the "run_acme.csh" style script that Peter Caldwell and Philip Cameron-Smith created
...
. Here are the steps for using run_acme.csh to do so:
- git clone https://github.com/ACME-Climate/SimulationScripts.git,
- cd SimulationScripts/serving_as_a_template/recommended,templates/releases/
- modify run_acme.template.csh as needed
- replace "template" in name with better descriptor,
- copy file to non-git directory (if desired)
- change stuff in file as needed. I can't say what you will want to change since each simulation is different, but at least think about:
- change run_name
- Change run length/restart freq/output freq. By default the code you just downloaded runs 5 days with daily atm output, then stops without writing any restart files.
- execute run_acme...csh and make sure it completes without errors
- change run_name to reflect the name you want to use for the continuation of the run.
- change model_start_type to
- branch
- change restart_files_dir to
- the absolute path where the restart files for the run you want to
- branch from are located (note: restart_files_dir should include rpointer.* and *.r.* files.
- execute run_acme...csh againand make sure it completes without errors and submits your job to the queue.
Continuing a run without using the "branch" utility:
...