This page explains how to specify the location (computer name or IP address) of your license manager without using the graphical Lumerical Launcher. This may be required for machines without a graphical interface or when system administrators want to setup the license information for all users.
License.ini specifies the location of the computer running your Lumerical license manager. This file can be located in a users home directory, or in a shared location that can apply to all users. If license.ini exists in both locations, the user's local copy will take precedence.
Manually specifying your license server
The following instructions are for Linux, but the same approach can be used on other operating systems.
- Create the preference file directory.
On Linux, create the following folders, if it does not already exist.
(global preference file location - sudo/root access required)
$ sudo mkdir /opt/lumerical/[[verpath]]/Lumerical/
(user preference file location)
$ sudo mkdir /Users/<UserName>/.config/Lumerical/ - Create the 'License.ini' file in this new folder. (case sensitive)
$ vi License.ini
- Specify the machine hosting the license manager and TCP port number used.
The file should contain the following lines:
[license]
domain=1
default=user
ansysserver\host=1055@localhost
flexserver\host=27011@localhost
Notes: Replaced the domain number with:
0 - for Ansys Enterprise license, 1 - for Lumerical Standard license, and 2 - for Ansys Standard license; which corresponds to the Lumerical Launcher (GUI) license settings as shown in the image.
Preference.ini files location
Lumerical product configuration is stored in a series of preference(.ini) files. Other than the 'License.ini', it is not recommended to edit these '.ini' files unless instructed to do so by Lumerical Support.
- License.ini: Contains the license server information.
- Shared.ini: Stores the shared settings for all the products including but not limited to the recently opened files and supported application examples.
- Login.ini: The login web token information when logging into the product to download application examples from within the application.
- <product>.ini: Product specific settings like display and solver resource settings. Each product will have its own preference file: FDTD Solutions.ini, MODE Solutions.ini, Lumerical DEVICE.ini, INTERCONNECT.ini
These files are found:
Windows
- Local or user specific:
C:\Users\<UserName>\AppData\Roaming\Lumerical\<filename>.ini
- System wide:
C:\Program Files\Lumerical\[[verpath]]\Lumerical\<filename>.ini
Linux
- Local or user specific:
~/.config/Lumerical/<filename>.ini
- System wide:
/opt/lumerical/[[verpath]]/Lumerical/<filename>.ini
macOS (deprecated)
- Local or user specific:
/Users/<UserName>/.config/Lumerical/<Product>.ini
(no system wide settings on macOS)