user-guide:additional_interfaces:headless
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
user-guide:additional_interfaces:headless [2025/01/17 09:29] – created Tim | user-guide:additional_interfaces:headless [2025/01/22 15:48] (current) – [Further Info] Tim | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | GroIMP can be started without its graphical interface, in a non interactive headless mode. | ||
+ | This mode can either execute a specified model and or a specified GroIMP command and can therefore be used for simple automation or as a base for e.g. the [[user-guide: | ||
- | GroIMP can be started without its graphical interface, in headless. | + | < |
+ | @startuml | ||
+ | hide footbox | ||
+ | title Headless | ||
- | ==== Get started ==== | + | User -> GroIMP: Start GroIMP with model |
+ | GroIMP -> User: Print log & close GroIMP | ||
+ | @enduml | ||
+ | </ | ||
- | You can find an example | ||
- | [[https:// | ||
- | Download | + | If a model is started in headless, GroIMP executes it, |
- | The model will run in background, grow few steps of the plant model, and export several views for each step. | + | |
- | ==== Tutorial | + | ==== Running a model headless |
+ | |||
+ | To execute a given model in headless the additional parameter --headless is used: | ||
+ | <code bash> | ||
+ | java -Xverify: | ||
+ | </ | ||
+ | |||
+ | This will return a list of all installed plugins including versions and then start the model. | ||
+ | Any further actions must be defined in the code of the Model, including the steps of the simulation, the way data is printed/ | ||
+ | |||
+ | For the automated starting of the simulation overwriting the startup function of the simulation is recommended. | ||
+ | |||
+ | |||
+ | ==== Executing a command headless ==== | ||
+ | |||
+ | GroIMP is capable of executing any registry command on startup, if this command is provided as full path using the additional command line argument: %%'-- -cmd "/ | ||
+ | This is mostly used to start the [[user-guide: | ||
+ | ==== More documentation ==== | ||
+ | |||
+ | * [[: | ||
+ | * [[: | ||
+ | |||
+ | ==== Tutorials ==== | ||
+ | * [[: | ||
+ | * [[: | ||
+ | * [[https:// | ||
- | You can have a look at [[: | ||
- | Further a tutorial for using command line parameters in the model can be found [[: |
user-guide/additional_interfaces/headless.1737102594.txt.gz · Last modified: 2025/01/17 09:29 by Tim