Farming
Farming out of the steps of an optimisation involves the concurrent solution of various optimisation steps on a number of available processors or hosts.
Hostname:Number of processes
using a new line for each
host.During optimisation, new model files are continuously created by adding the string _opt_ and a sequentially incremented number to the file name of each relevant component file of the parametric model.
Example
Two hosts are available with names host1 and host21, with 4 and 8 processors respectively.
The machines file:
host1:4
host2:8
Launch an optimisation run with 12
processors for farming, results in the first 4 optimisation steps to be launched on
host1 and the next 8 steps to be launched on
host2.optfeko <x> -np <n_farming> --machines-file <m>
where:- <x>
- File name of the model
- <n_farming>
- Number of farming processes
- <m>
- File name of the machines file