This article provides background on the standalone legacy CADFEKO installer (which can be downloaded for Windows and Linux) as well as the installation process.
From Feko 2023.1 and onward, legacy CADFEKO is not included in the Feko installer.
For some Feko users, however, there are models and workflows where the legacy CADFEKO interface may be required. To enable these Feko users to continue using the legacy CADFEKO interface for a period, a separate or 'standalone' installation has been prepared. This installation will install only the files and environment needed to run the legacy CADFEKO interface.
As the standalone legacy CADFEKO installer does not install any other Feko components, a separate installation of Feko is required for any workflows requiring other Feko components (for example, the Feko Solver or POSTFEKO).
Environment variables can be used to configure which Feko components should be used with legacy CADFEKO (for example, if multiple concurrent installations of Feko are installed).
C:\Program Files\Altair\2023.1
).If a 2023.1 or later Feko installation does not exist when installing legacy CADFEKO or legacy CADFEKO does not point to the correct version, complete the following steps:
FEKOenvironmentFromSetup.lua
file located in the %FEKO_HOME%
directory, where %FEKO_HOME%
points to the Feko installation path (for example: C:\Program Files\Altair\2023.1_Legacy_CADFEKO
).setEnv([[FEKO_LEGACY_CADFEKO_FEKO_HOME]], [[C:\Program Files\Altair\2023.1\feko]], true);
Linux
setEnv([[FEKO_LEGACY_CADFEKO_FEKO_HOME]], [[/opt/feko/2023.1/altair/feko]], true);
Add the line to specify the path to the legacy CADFEKO installation for the case where CADFEKO_BATCH needs to be called from RUNFEKO:
Microsoft Windows
setEnv([[FEKO_LEGACY_CADFEKO_BINARY_PATH]], [[C:\Program Files\Altair\2023.1_Legacy_CADFEKO\feko\bin]], true);
Linux
setEnv([[FEKO_LEGACY_CADFEKO_BINARY_PATH]], [[/opt/feko/2023.1_Legacy_CADFEKO/altair/feko/bin]], true);
To run the Feko Solver using legacy CADEKO (locally or on a cluster), do the following:
To run the Feko Solver using legacy CADEKO_BATCH (locally or on a cluster), do the following:
FEKO_LEGACY_CADFEKO_BINARY_PATH = C:\Program Files\Altair\2023.1_Legacy_CADFEKO\feko\bin
(point to the legacy CADFEKO installation)FEKO_LEGACY_CADFEKO=1
(to indicate that the legacy CADFEKO_BATCH should be used when RUNFEKO attempts to run CADFEKO_BATCH) The following environment variables are set automatically when opening the Feko Terminal from legacy CADFEKO:
FEKO_LEGACY_CADFEKO_FEKO_HOME = C:\Program Files\Altair\2023.1\feko
FEKO_LEGACY_CADFEKO_BINARY_PATH = C:\Program Files\Altair\2023.1_Legacy_CADFEKO\feko\bin
FEKO_LEGACY_CADFEKO=1