Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

  1. git clone https://github.com/ACME-Climate/SimulationScripts.git,
  2. cd SimulationScripts/serving_as_a_template/recommended,templates/releases/
  3. modify run_acme.template.csh as needed
    1. replace "template" in name with better descriptor,
    2. copy file to non-git directory (if desired)
    1. 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:
      1. change run_name
      2. 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.
    2. execute run_acme...csh and make sure it completes without errors
    Modify your run_acme...csh script to do the following:
    1. change run_name to reflect the name you want to use for the continuation of the run.
      1. change model_start_type to
      "
      1. branch
      "
      1. change restart_files_dir to
      reflect the "run" directory containing
      1. the absolute path where the restart files for the run you want to
      use to restart your run
      1. branch from are located (note: restart_files_dir should include rpointer.* and *.r.* files.
  4. 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:

...