case.setupΒΆ

case.setup is a script in CIMEROOT/scripts/Tools.

$ ./case.setup --help
usage: case.setup [-h] [-d] [-v] [-s] [-c] [-t] [-r] [caseroot]

Creates various files and directories needed in order to build the case,
create namelists and run the case.

Any changes to env_mach_pes.xml and env_mach_specific.xml must be made
before running this.

This must be run before running case.build.

To run this initially for the case, simply run:
   ./case.setup

To rerun after making changes to env_mach_pes.xml or env_mach_specific.xml, run:
   ./case.setup --reset

positional arguments:
  caseroot         Case directory to setup.
                   Default is current directory.

optional arguments:
  -h, --help       show this help message and exit
  -d, --debug      Print debug information (very verbose) to file /Users/sacks/cime/scripts/Tools/case.setup.log
  -v, --verbose    Add additional context (time and file) to log messages
  -s, --silent     Print only warnings and error messages
  -c, --clean      Removes the batch run script for target machine.
                   If the testmode argument is present then keep the test
                   script if it is present - otherwise remove it.
                   The user_nl_xxx and Macros files are never removed by case.setup -
                   you must remove them manually.
  -t, --test-mode  Keeps the test script when the --clean argument is used.
  -r, --reset      Does a clean followed by setup.
                   This flag should be used when rerunning case.setup after it
                   has already been run for this case.