Open the configuration window File > Pamhyr configuration and select the Solvers tab.
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 . A new window appears to configure the new solver:
- The type of solver (modify the Pamhyr2 solver input/output export and import)
- The solver name
- A description of solver configuration
- 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 or edit a solver with the edit
button.