User Tools

Site Tools


command_line

This is an old revision of the document!


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
  1. Get plugin's file and number in menu File > Configuration. For example, “Time series preprocess” is “BasePlugin:1”.
  1. Look into gmdh_shell.ini file. All plug-ins' settings are kept there. Find a section with appropriate name.
  1. All settings stored in that section are configurable from command line. For example, to set step to 10, write /pr.step:10.
  • /im — importer
  • /pr — preprocessor
  • /ca — solver
  • /po — postprocessor
  • /ex — exporter

:!: The plug-in may have some extra options that aren't stored in gmdh_shell.ini.

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.1342637598.txt.gz · Last modified: 2021/06/01 03:27 (external edit)

Page Tools