Ansys Lumerical product configuration is stored in a series of "preference" or configuration ".ini" files. These ".ini" files are stored in a hidden folder in your "home" directory.
- License.ini: Contains the license server information.
- Launcher.ini: Stores Launcher-specific (GUI) settings.
- Shared.ini: Shared settings for all solvers. Including recently opened files, scripts, and application examples.
- Login.ini: The login web token information when logging into the product to download Application Gallery (Apps) examples from within the application.
- <productname>.ini: Product-specific settings like display, solver, and resource configuration.
Each Lumerical product will have its own preference file used by all versions: FDTD Solutions.ini, MODE Solutions.ini, Lumerical DEVICE.ini, INTERCONNECT.ini
Preference files location
The Lumerical configuration or preference (.ini) files can be found: (default install path shown)
Windows
- Local or user-specific:
C:\Users\<UserName>\AppData\Roaming\Lumerical\<Product>.ini
- System-wide:
C:\Program Files\Lumerical\<version>\Lumerical\<Product>.ini
Linux
- Local or user-specific:
~/.config/Lumerical/<Product>.ini
- System-wide:
/opt/lumerical/<version>/Lumerical/<Product>.ini
macOS (deprecated)
- Local or user-specific:
/Users/<UserName>/.config/Lumerical/<Product>.ini
(no system-wide settings on macOS)
Removing your local preference files
- Removing your local (current user) preference.ini files resets the Lumerical product settings and a new preference.ini file is created with the default settings.
- The process shown below does not remove the license configuration, "License.ini" file.
Windows
Using the Windows file explorer:
The preference files are stored in the User's hidden "AppData" folder. The process shown below will let you go to the folder using the "File Explorer".
- Open Windows "File Explorer"
- Enter "%AppData%\Lumerical\" in the address bar.
- Delete the ".ini" files except for the license configuration file, "License.ini".
Using the command prompt
- Open a Windows command prompt.
- Run the following,
cd %AppData%\Lumerical
ren License.ini License.orig
del *.ini
ren License.orig License.ini
Linux:
- Open Terminal,
- Run the following,
cd $HOME/.config/Lumerical/
mv License.ini License.orig
rm *.ini
mv License.orig License.ini