# Changes between Version 1 and Version 2 of WRF4GCommandLineInterface

Ignore:
Timestamp:
Sep 28, 2012 2:55:13 PM (10 years ago)
Comment:

--

### Legend:

Unmodified
 v1 === Synopsis === wrf4g_framework manages WRF4G framework components: !GridWay and MySQL (in case it is needed). It load the framework configuration from {{{$WRF4G_LOCATION/etc/framework4g.conf}}}. It loads the framework configuration from {{{$WRF4G_LOCATION/etc/framework4g.conf}}}. ---- === Synopsis === Given a file (experiment.wrf4g) describing the experiment, prepare the experiment creating the realization and chunks needed to perform it. Given a file (experiment.wrf4g) describing the experiment, prepare it by creating the realization and chunks needed to perform the experiment. === Options === === Synopsis === Submits an experiment or realization. If the user do not specify an experiment or realization with the options, Submit an experiment or a realization. If the user doesn't specify an experiment or a realization with the options, the name of the experiment will be retrieved from  experiment.wrf4g in case it exists in the current folder. -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 -a, --rerun           Force to run although the realization or experiment has finished -o, --run-just-one    Run just the first chunk of the first realization. -R N, --nrea=N        Run the next N realizations not finished of the experiment -p P, --priority=P    P is the priority of the experiment or realization is going to be launched (P is a integer between 0 and 20) -v, --verbose         Verbose mode. Explain what is being done -p P, --priority=P    P is the priority of the experiment or realization that is going to be launched (P is an integer between 0 and 20) -v, --verbose         Verbose mode. It explains what is being done -f, --force           Don't ask the user if he wants to submit an experiment already submitted Specify dependencies between Chunks. afterok: The chunk may be scheduled for execution only after jobs jobid have terminated with no errors.  afternotok: The jobid have finished without any error.  afternotok: The chunk may be scheduled for execution only after jobs jobid have terminated with errors. afterany: The chunk jobid have finished with errors. afterany: The chunk may be scheduled for execution after jobs jobid have terminated, with or without errors. finished, with or without errors. }}} === Synopsis === Prints the experiment or realization status. Print the experiment or realization status. === Options === -l, --long            Show a detailed status. -n NUMBER_OF_CHARACTERS, --ncharacters=NUMBER_OF_CHARACTERS Print n characters of the name of the Experiment or Realization (default value is 20 characters) Print n characters of the Experiment's name (default value is 20 characters) * Realization: Realization name. * Status: It can be take the following values: P(Prepared), S(Submitted), R(Running), F(Failed) and D(Done). * Status: It can take the following values: P(Prepared), S(Submitted), R(Running), F(Failed) and D(Done). * Chunks [Chunk currently running/Total Chunks]: A realization is split into chunks. Each chunk is sent as a job. * Computer resource: Computing Resource where the job is running. (It has to be one of the resources listed by wrf4g_resources) === Synopsis === Prints information about all the resources configured in framework4g.conf (default) Print information about all the resources configured in framework4g.conf (default) === Options === === Synopsys === Change the priority of an experiment or realization. The priority must be in range ![0,20] and default value is 0. When a chunk gets a priority of 20, it becomes an urgent. This chunk is dispatched as soon as possible, bypassing all the scheduling policies. Change the priority of an experiment/realization. The priority must be in range ![0,20] and default value is 0. When a chunk gets a priority of 20, it becomes urgent. This chunk is dispatched as soon as possible, passing all the scheduling policies. === Options === -r name, --rea=name   Name of the realization to sumbit -F FILE, --frea=FILE  File containing the name of the realization to change of the priority the priority -v, --verbose         Verbose mode. Explain what is being done -p PRIORITY, --priority=PRIORITY === Synopsys === Kill an experiment or realization. Only the ckunks, which have not done, will go back to "Prepared" status. Kill an experiment or realization. Only the chunks which haven't been done, will go back to "Prepared" status. === Options ===