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) 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).
Installation on Linux
- GUI or desktop environment on the supported Linux platform.
- Download the Ansys License Manager installation package from the Ansys Customer Portal - Downloads or the Ansys Optics - Customer 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 on Linux
- 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.
Installing on non-graphical Linux systems
- 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.
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.
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
- See this Knowledge Base on how to add the license file outside the Ansys license management center.
Starting the Ansys LM
The Ansys license manager does not start automatically on Linux. Either configure your Linux machine to run the Ansys license manager on system startup as shown here. Or start Ansys LM manually after a system restart on a Linux machine from the terminal/command line.
sudo /ansys_inc/shared_files/licensing/start_ansysli
Stopping the Ansys LM
sudo /ansys_inc/shared_files/licensing/stop_ansysli
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_inc/shared_files/licensing/linx64/ansysli_server -k info
/ansys_inc/shared_files/licensing/linx64/lmutil lmstat -a -c 1055@localhost
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