Command Line Arguments for Launching OPTFEKO

Use the command line arguments to pass additional information to OPTFEKOwhen it is launched.

Table 1. Command line arguments for launching OPTFEKO.
Argument Description
--version Displays the current version of OPTFEKO.
-r All interim model files are deleted after each analysis. The optimum results are, however, not deleted, and are available with the string (_optimum) appended to the file name. This saves disk space during and after the optimisation process.
--restart x Resumes an optimisation process that has been stopped, provided that all of the interim optimisation files (.fek, .bof and .cfx) are still available (for example, the previous optimisation has been stopped by pressing Ctrl+C or due to a power failure or a Feko error).
-np x The number of processors used for farming out of the individual optimisation steps.
--machines-file machname The file machname is the machines file with the node names and the number of CPUs used for farming of the individual optimisation steps. This machines file is used for both farming and parallel execution when farming and parallel execution is used simultaneously.
--eval-aim-only x The value of the goal function is calculated only for one existing file (x) — no optimisation is done. (This is mostly used for debugging.)
After this option one can specify additional options which is used in the launcher RUNFEKO for the Solver. For example, to use the parallel Solver during the optimisation, the command
optfeko file --runfeko-options -np 2
optfeko file --runfeko-options -np 2 --machines-file m
where m is the machines file. For a remote execution of the Feko runs during the optimisation on another host, the suitable command is
optfeko file --runfeko-options --remote-host hostname
Additional options for ADAPTFEKO and PREFEKO is included in the OPTFEKO command as part of the RUNFEKO options. The options are passed to the relevant component by RUNFEKO as needed. This allows for control of all of the Feko components during the optimisation process.