How to Install CADFEKO [LEGACY] Using the Standalone Installer
This How-To provides background on the standalone legacy CADFEKO installer as well as the installation process.
Background
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 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).
How to Install Standalone Legacy CADFEKO
- Install the full 2023.1 Feko installation or a
Feko version newer than Feko 2023.1.Note: If Feko 2023.1 or newer installation is already in place, or if only the legacy CADFEKO interface is needed, this step can be skipped.
- Download the legacy CADFEKO installer (download link available in Altair Community article).
- Install legacy CADFEKO.
- Specify the path to the Feko installation on the Choose Existing Feko Installation installer panel (for example, C:\Program Files\Altair\2023.1).
- Modify the
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). - Enter the path the full Feko installation to be
used by legacy CADFEKO (as an example, using
the default 2023.1 installation path):
- Microsoft Windows
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);
- Microsoft Windows
- 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);
- Microsoft Windows
How to Run the Solver Using Legacy CADFEKO
- See How to Install Standalone Legacy CADFEKO on how to install legacy CADFEKO.
- Start legacy CADFEKO using one of the
following workflows:
- Start legacy CADFEKO, load a model and run the Solver.
- Start legacy CADFEKO, open the (Home tab) and call the Solver using the command line.
How to Run the Solver Using Legacy CADFEKO_BATCH
- See How to Install Standalone Legacy CADFEKO on how to install legacy CADFEKO.
- Open a command prompt and specify the following environment variables:
- FEKO_LEGACY_CADFEKO_FEKO_HOME = C:\Program Files\Altair\2023.1\feko (point to the full Feko installation)
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)- Run the Solver.
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