|
|
Open the configuration window _File > Pamhyr configuration_ and select the _Solvers_ tab.
|
|
|
|
|
|
![Configuration window](https://gitlab.irstea.fr/theophile.terraz/pamhyr/-/raw/master/doc/images/wiki/config_window.png)
|
|
|
|
|
|
By default, you must have a defined Mage solver, this version of mage is packaged with Pamhyr2 and can be used without any modification.
|
|
|
|
|
|
If you want to add a new solver, you can click ![add](https://gitlab.irstea.fr/theophile.terraz/pamhyr/-/raw/master/src/View/ui/ressources/gtk-add.png). A new window appears to configure the new solver:
|
|
|
|
|
|
![Solver configuration window](https://gitlab.irstea.fr/theophile.terraz/pamhyr/-/raw/master/doc/images/wiki/solver_config_window.png)
|
|
|
|
|
|
1. The type of solver (modify the Pamhyr2 solver input/output export and import)
|
|
|
2. The solver name
|
|
|
3. A description of solver configuration
|
|
|
4. Command line configuration
|
|
|
- Input formater (optional): Command line to transforme Pamhyr2 data output to the solver input data
|
|
|
- Solver: Command line to execute the solver
|
|
|
- Output formater (optional): Command line to transforme the solver results outputs to Pamhyr2 results input
|
|
|
|
|
|
In the command line format text, you can use some replacement values like:
|
|
|
- _@install_dir_: The Pamhyr2 install path
|
|
|
- _@path_: The associate path
|
|
|
- _@input_: Solver input data file(s)
|
|
|
- _@output_: Solver output data file(s)
|
|
|
- _@dir_: The working directory at solver execution
|
|
|
- _@args_: Solver arguments and additional arguments defined on solver parameters
|
|
|
|
|
|
|
|
|
If you want to delete a solver, you can click ![del](https://gitlab.irstea.fr/theophile.terraz/pamhyr/-/raw/master/src/View/ui/ressources/gtk-remove.png) or edit a solver with the edit ![edit](https://gitlab.irstea.fr/theophile.terraz/pamhyr/-/raw/master/src/View/ui/ressources/edit.png){height=20px} button. |
|
|
\ No newline at end of file |