Licensing Settings

Ansys Licensing Settings is a desktop utility . AGI recommends using Ansys Licensing Settings to specify the information needed to communicate with the license server.

This help topic is a high-level overview of the Ansys Licensing Settings utility. For a comprehensive understanding of each option, go to AnsysLicenseManager.tgz\AnsysLicenseManager\linx64\util\installHelp.pdf.

Launching Ansys Licensing Settings

To launch the Ansys Licensing Settings utility, run the following command:

<Install Dir>/licensingclient/linx64/LicensingSettings

If the <Install Dir>/licensingclient/linx64/LicensingSettings file does not exist, make sure you have extracted the AnsysLicensingClient_UI.tgz file.

Once launched, you should select the Enable Flexnet Publisher Licensing check box. This enables you to enter port and server information.

The following options appear on the left:

Tab Description
FlexNet Publisher

You can access three suboptions:

  • License servers - This is for providing port and server identifiers to access a license server. This is the default view when you first open the utility.
  • Features in use - Provides a report of both licenses in use and the users currently employing the licenses.
  • Borrowing - Enables you to borrow license files, if they are available and borrowable. This function does not work for dongle licenses.
Web Licensing Click Elastic to access an elastic license. Enter the Elastic License Server Id and the Elastic License Server PIN.
Preferences After clicking HPC priority, you can adjust the high performance computing priority scheme for your licensed products by dragging options above or below other option.
Diagnostics Click the Diagnostics link and then click Generate to view a report of system information and system diagnostics.

Configuring the licensing client to access the server

These sections assume a license administrator has already set up a license server and provided you with the following:

  • HostName or IP address of the license server
  • a port number (1055 is the default)

Using the Ansys Licensing Settings utility

  1. To run the utility on Linux, type the following:
  2. sudo <Install Dir>/licensingclient/linx64/LicensingSettings

    If you do not run as administrator, you may receive an error when the utility tries to save your configuration to <Install Dir>shared_files/Licensing/ansyslmd.ini. Please close the utility and run as an administrator.

    If the Ansys Licensing Settings user interface did not open, see ClientSettings utility will not run on Linux for help.

  3. Bring the Ansys Licensing Settings utility to the front.
  4. Make sure you are in the License Servers view; you should see "FlexNet Publisher > License servers" at the top.
  5. Select the Enable Flexnet Publisher Licensing check box so that you can enter port and server information.
  6. Enter the Port (1055 is the default).
  7. Enter Server 1 (HostName or IP address). If you are employing the Triad configuration for redundant license servers, also enter Server 2 and Server 3.
  8. Click Test to check to see if the credentials are correct (green check circle).
  9. Click Save to save the configuration.

Manually configure the licensing client to access the server

If the Ansys Licensing Settings utility fails or you have installed STK on a computer without graphics as a compute node, follow these instructions to configure the licensing client to access the license server.

  1. Open a text editor and create a file with the name ansyslmd.ini.
  2. Add a single server using the following format:
  3. SERVER=<flexnetport>@<HostName or IP address>

    For two or more servers, each server should have its own "SERVER=" line.

  4. For redundant (triad) servers, separate each server with a colon (:) on Linux:
  5. SERVER=<flexnetport>@<host1>:<flexnetport>@<host2>:<flexnetport>@<host3>
  6. Move the ansyslmd.ini file to <Install Dir>/shared_files/licensing.
  7. Depending on the STK installation directory, you may need administrator privileges to write to the location.

Set an environment variable

We recommend using the ansyslmd.ini method described above, however you can also set an environment variable to point to the license server.

ANSYSLMD_LICENSE_FILE=port@hostname