User Tools

Site Tools


command_line

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

command_line [2013/11/11 14:09]
Oleksiy
command_line [2021/06/01 03:27]
Line 1: Line 1:
-===== Command line ===== 
- 
-==== Background processing ==== 
- 
-In the background mode GMDH Shell performs modeling simulation without any interaction. The easiest way to launch the program in the background mode is to use the command line key **''/auto''**  
- 
- 
-Use of the key **''/auto''** executes the project located in the current directory. So, the usual way for background processing is to configure a project visually and then run it from the command line. Example: "''"GMDH Shell.exe" /auto''" No other settings required. 
- 
- 
- 
-If the project is located in another directory, you'll need to run "''"GMDH Shell.exe" /auto:C\MyData''". Of course, there should be a configured project (''gmdh_shell.ini'') in that directory. 
- 
- 
- 
-== Host commands ==  
- 
- 
- 
-| **''/auto''** | Runs the project located in the current directory. Example: "''GMDH Shell.exe /auto''" | 
- 
-| **''/auto:ProjectPath''** | Runs a project located in **''ProjectPath''**. Example:\\ "''GMDH Shell.exe /auto:C:\MyData''" | 
- 
-| **''/save:FileName.model''** | Saves a binary simulation file. Example:\\ "''GMDH Shell.exe /save:C:\MyData\TimeSeries.model''" | 
- 
-| **''/semiauto''**\\ **''/semiauto:ProjPath''** | Semi-automatic mode. Same as ''/auto'', but does not forbid interaction with user. | 
- 
- 
-== How to recover command-line options from a plug-in == 
- 
-  - Look into ''.gsp'' project file. Though the file is binary, for your convenience all plug-ins’ settings are kept there in human-readable XML. Find an appropriate section, e.g. ''<Storage file="BasePlugin" feature="1" description="Time series modeling">''. Repeat once again: **despite XML section, this file is binary, do not edit!** 
-  - All settings stored in that section are configurable from command line. For example, command-line equivalent of **''<task>future</task>''** is **''/pr.task:future''**. 
-    * ''/im'' — importer 
-    * ''/pr'' — preprocessor 
-    * ''/ca'' — solver 
-    * ''/po'' — postprocessor 
-    * ''/ex'' — exporter 
-  - Some settings are stored in so-called “shared storage”, accessible to several plug-ins. For example: ''<Storage name="gs.prepro"><decompositionlimit>0</decompositionlimit>'' → ''/pr.gs.prepro.decompositionlimit:0'' 
- 
-:!: The plug-in may have some extra options that aren’t stored in ''.gsp''. 
- 
- 
- 
-== Batch-mode export == 
- 
- 
- 
-| **''/noexport''** | Prevents the export plug-in from exporting simulation results. | 
- 
- 
- 
-== Batch-mode exporter: Export forecast == 
- 
-| **''/ex.file:FPath''** | Saves result to  FPath. Example:\\ "''GMDH Shell.exe /auto /ex.file:C:\MyData\example.txt''" | 
- 
- 
- 
-== Import == 
- 
- 
- 
-| **''/im.file:FPath''** | import file from path FPath. Example:\\ "''GMDH Shell.exe /auto /im.file:C:\MyData\example.xls''" | 
- 
- 
- 
-== Preprocess: Time Series Forecasting == 
- 
- 
- 
-| **''/pr.calc:n''** | Number of forecasts to simulate = ''n''. | 
- 
-| **''/pr.skip:n''** | Skip observations  = ''n''. | 
- 
- 
- 
-== Preprocess: Value prediction & Classification == 
- 
- 
- 
-| **''/pr:unk:n''** | Number of unknown values = ''n''. | 
- 
-| **''/pr:limit:n''** | Calculate only (''0=all'') = ''n''. | 
- 
- 
- 
-== Solver: Combinatorial == 
- 
- 
- 
-| **''/ca.ncpu:n''** | Number of parallel threads | 
- 
- 
- 
-== Solver: Combinatorial HPC. (GMDH Shell Enterprise edition only) == 
- 
- 
- 
-| **''/ca.ncpu:n''** | Number of parallel tasks. | 
- 
-| **''/ca.reserve:b''** | Reserve cluster, Yes: ''b = 1''; No: ''b = 0''. | 
- 
  
command_line.txt · Last modified: 2021/06/01 03:27 (external edit)