wiki:WRF4GCommandLineTools

Version 8 (modified by MarkelGarcia, 11 years ago) (diff)

--

wrf4g_framework

Usage

wrf4g_framework start/stop/restart/reload

Synopsis

wrf4g_framework manages WRF4G framework components: drm4g and mysql (in case it is needed). It load the framework configuration from etc/framework4g.conf.



wrf4g_prepare

Usage

wrf4g_prepare [--dry-run] [--reconfigure] [--verbose] [--help]

Synopsis

Given a file (experiment.wrf4g) describing the experiment, prepare the experiment creating the realization and chunks needed to perform it.

Options

  --dry-run        Perform a trial run with no changes made.
  --reconfigure    Reconfigure experiment. With this option we can change the start and end date of the experiments 
                   and add new physics. Values are taken from a modified experiment.wrf4g. 
  --verbose        Verbose mode. Explain what is being done
  --help           Shows this help



wrf4g_submit

Usage

wrf4g_submit [--dry-run] [--nchunk N] [--nrea N] [--frea FILE] [--priority P] [--rerun] [--verbose] [--force] [--help]

Synopsis

Submits an experiment or realization. If the user do not specify an experiment or realization with the options, the name of the experiment will be retrieved from experiment.wrf4g in case it exists in the current folder.

Options

options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -n, --dry-run         Perform a trial run with no changes made
  -e name, --exp=name   Name of the experiment to sumbit
  -r name, --rea=name   Name of the realization to sumbit
  -F FILE, --frea=FILE  File containing the name of the realization to sumbit.
  -a, --rerun           Force to run although ths realization or experiment
                        has finished
  -o, --run-just-one    Run just the first chunk of the first realization.
                        Only for testing purposes.
  -C N, --nchunk=N      Run the next N chunks not finished of each realization
  -R N, --nrea=N        Run the next N realizations not finished of the
                        experiment
  -p P, --priority=P    P is the priority the experiment or realization is
                        going to be launched with (P is a integer between 1
                        and 100)
  -v, --verbose         Verbose mode. Explain what is being done
  -f, --force           Don't ask the user if he wants to submit an experiment
                        already submitted