This article shows the process to install the Ansys License Manager on a supported RedHat Enterprise Linux (RHEL), CentOS and SUSE Linux Enterprise Server (SLES) and Ubuntu Platforms
Requisites
- An account with Ansys Lumerical to download the installation package.
- Ansys license manager release 2021 R1 and newer.
- Install the required libraries and packages shown in this Knowledge Base (KB).
Default installation process
- GUI or desktop environment on the supported Linux platform.
- Download the Ansys License Manager installation package from the Ansys Customer Portal - Downloads page (login required).
- Change directory to the location of the installation package.
- Extract the files and run the installation script. (root access required)
cd /location_of_installer/
tar -xf ANSYSLICMAN_<version>_LINX64.tgz
sudo ./INSTALL
- Follow the instructions and complete the installation.
See also the how-to-videos for Linux.
Silent installation
- Run "INSTALL" with -silent -LM argument.
- This will install the Ansys license manager without the GUI popup.
./INSTALL -silent -LM -install_dir [install_path]
- The "-install_dir [install_path]" argument is optional. Omitting this will install Ansys LM into the default folder in the root directory, "/ansys_inc" where root access is required.
- Add the "-install_dir [install_path]" argument to install Ansys LM on a different location where you have write access.
Advanced (custom) installation
The installation process outlined here can be used for headless Linux machines (without GUI) or installation to a different shared folder/install path without 'root' or 'sudo' access.
Notes: The example shown installs the Ansys License Manager into the default path in the root directory, "/ansys_inc". If you do not have root access, copy and extract the installation package into a directory where you have write access.
- Ensure that your machine has the LSB package and the required libraries as indicated above.
- Download the Ansys Enterprise License Manager installation package for Linux systems from the Ansys Customer Portal - Downloads page under the Tools section. (login required)
- Copy the installation package into your desired directory.
- Extract the installation files.
sudo mkdir /ansys_inc
sudo cp ENTERPRISELICENSING_[[verpath]]_LINX64.tgz /ansys_inc
cd /ansys_inc
sudo tar -xf ENTERPRISELICENSING_[[verpath]]_LINX64.tgz
sudo tar -xf ansyslm_linx64.tgz
Adding the license file
- Copy the license file into the "license_files" folder of your Ansys LM installation.
# e.g. "license.lic" file was saved in the user's Downloads folder
sudo cp ~/Downloads/license.lic /ansys_inc/shared_files/licensing/license_files/
- See this Knowledge Base for more information.
Starting/Stopping the Ansys license manager
- The process shown below is to start/stop the license manager from the Terminal in Linux.
- This is used if the license manager does not start automatically on system startup if this has been configured to start on system boot, as shown here. Or on servers using the Ansys license manager Enterprise edition (no Ansys LMCenter web interface).
2023 R2.3 and older releases
#Starting the license manager and web interface
sudo /ansys_inc/shared_files/licensing/start_ansysli
sudo /ansys_inc/shared_files/licensing/start_lmcenter
#Stopping the license manager and web interface
sudo /ansys_inc/shared_files/licensing/stop_ansysli
sudo /ansys_inc/shared_files/licensing/stop_lmcenter
2024 R1 and newer releases
#Starting the license manager and web interface
sudo /ansys_inc/shared_files/licensing/start_ansyslmd
sudo /ansys_inc/shared_files/licensing/start_lmcenter
#Stopping the license manager and web interface
sudo /ansys_inc/shared_files/licensing/stop_ansyslmd
sudo /ansys_inc/shared_files/licensing/stop_lmcenter
Without the Ansys license managerment center web interface (GUI)
#Starting the license manager using the default install path
#using default tcp port 1055
cd /ansys_inc/shared_files/licensing
sudo ./linx64/lmgrd -c 1055@localhost ./license_files/ -log license.log
#Stopping the license manager
cd /ansys_inc/shared_files/licensing
sudo ./linx64/lmutil lmdown -c 1055@localhost ./license_files/ -vendor ansyslmd -all
Check license server status and license usage
- The Ansys license manager status and license usage can be checked from the Ansys license management center while logged in to the license server.
- Open the Ansys license management center and navigate to "View Current License Usage" on the left column. The current license usage on this LM will be shown. Click on "Show tabular data" for a table format.
- Alternatively, navigate to the Diagnostics section, "Display FlexNet License Status". This will show the FlexNet status and lists of license features for check out and the user information that has checked out the license (if any).
Linux terminal/command line
#ansys licensing interconnect status
/ansys_inc/shared_files/licensing/linx64/ansysli_server -k info
#list all license features
/ansys_inc/shared_files/licensing/linx64/lmutil lmstat -c 1055@localhost -a
#list a specific license feature (-f) e.g. lum_fdtd_gui
/ansys_inc/shared_files/licensing/linx64/lmutil lmstat -c 1055@localhost -f lum_fdtd_gui
#list license features the contains 'lum'
/ansys_inc/shared_files/licensing/linx64/lmutil lmstat -c 1055@localhost -a | grep -i lum
Issues with Ansys license manager
See this Knowledge Base (KB) article on how to obtain the Ansys license manager logs and diagnostic files to troubleshoot issues with the Ansys LM.
See also
Ansys license manager installation guide
Ansys license manager configuration and license file installation
Uninstalling the Ansys license manager