Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

License file for ANSYS users

    • yugiohmumi
      Subscriber

      I am setting up the license for our ANSYS users right now. 


      Right now, to grant access to ANSYS on our systems for specific users, I am using the environment variables:
      export ANSYSLMD_LICENSE_FILE=1055@license_system_info_here (for each individual user)


      based on the information posted here:


      /forum/forums/topic/configuring-linux-client-in-command-line-mode-to-remote-license-manager-server/


      However, "1055@license_system_info_here" is not a real license file. 


      Is there any ANSYS variable that allows me to keep the license information in a real file (so that we have more management for the access control)?


      Here is what we expect:



      • There will be no default license at ansyslmd.ini.

      • We will provide a license file like this to users:
        $ cat mylicensefile


      SERVER=1055@license_system_info_here
      ANSYSLI_SERVERS=2325@license_system_info_here



      • Define a variable to point to the license file like:
        export ANSYS_LICENSE=mylicensefile


      Thanks a lot,


       

    • tsiriaks
      Ansys Employee

      So, basically you want to know if there is an environment variable to set a non-default location of ansyslmd.ini file.


      I don't think this is possible. 


       


      However, there is a workaround to achieve something similar to this but the content of the file is not the same syntax as that in ansyslmd.ini.


      The content must be like this:


       


      SERVER ANY


      VENDOR ansyslmd


      USE_SERVER


      INCREMENT any ansyslmd any


       


      Only and part must be replaced by the actual server information. The rest must be exactly like this.


      Then, you can just set ANSYSLMD_LICENSE_FILE to point to this file.

    • yugiohmumi
      Subscriber

      That works for me. Thanks a lot.


      Do I need the "ANSYSLI_SERVERS" settings in the file as well like:


      ANSYSLI_SERVERS mymachine ANY 2325


      Best wishes,


       

    • tsiriaks
      Ansys Employee

      Perfect ! Glad it works for you !


      The ANSYSLI_SERVERS is needed only if your License Manager is not running ANSYS LI (Licensing Interconnect) on its default port (2325). 


      So, if you are using 2325, there is no need to set it anywhere (environment variable or in that file).

    • yugiohmumi
      Subscriber

      Thanks a lot!

    • tsiriaks
      Ansys Employee

      You are welcome !

Viewing 5 reply threads
  • The topic ‘License file for ANSYS users’ is closed to new replies.