Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Ansys Products

Ansys Products

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

Connecting to an external license server

    • jamiemjohnston
      Subscriber

      I have Ansys Fluent, and workbench installed on an HPC, and a license server connected elsewhere.

      There's another instance of Fluent running on a third machine, that will connect to the license server and validate properly. However, on our HPC we get an error when trying to connect to the same server.

    • ANSYS_MMadore
      Forum Moderator
      a successful ping of the license server doesn't rule out firewall or other connection restrictions. To test the access, you can use one of these options, please try for the lmgrd port, ansyslmd port and ansysli_server port, modify the command to replace "192.168.0.1" with the license server hostname.
      Telnet 192.168.0.1 1055
      nc -v -z -w2 192.168.0.1 1055
      (echo >/dev/tcp/192.168.0.1/1055) &>/dev/null && echo "Open 1055" || echo "Close 1055"

      Please make sure the port for the ansyslmd daemon is on the license server firewall.Starting with 2021R1 the applications must communicate through ansyslmd and lmgrd, where past releases used lmgrd and the ansysli_server process on 2325.
      You can set ansyslmd to a static port by adding it in the license file on the VENDOR line.
      For example:
      VENDOR ansyslmd PORT=1056

      On the Client side, please make sure there are no firewalls that could be blocking the ansyscl process from communicating.

    • jamiemjohnston
      Subscriber
      Thank you for the response! I tried the first command, telnet to the hostname of the license server with all 3 ports, and was successful, I got "connected to {hostname} on all.

      I confirmed with the team responsible for the licensing server that static ports are set, including the VENDOR ansyslmd, and those ports are opened on the firewall on both ends, the client and licensing server.

      On the client side, in ansyslmd.ini is there anything I need to add?
    • ANSYS_MMadore
      Forum Moderator
      What is the OS on the HPC systems where you are trying to run?
    • jamiemjohnston
      Subscriber
      RHEL 8.2
    • ANSYS_MMadore
      Forum Moderator
      RHEL 8.2 is not supported and is known to have serious issues. Please revert to a base RHEL 8.1 OS or other supported platform as noted in our platform page.
      https://www.ansys.com/content/dam/it-solutions/platform-support/platform-support-by-application-product-2021-r1.pdf
      You may try to downgrade to krb5-libs version 1.17-9 (sudo yum downgrade krb5-libs.i686 krb5-libs.x86_64).
    • jamiemjohnston
      Subscriber
      Thank you for the information! I will try downgrading the krb5 package and see the results.

      Importantly, what should the ansyslmd.ini file look like? You mentioned past releases use ansysli_server and lmgrd. I'm still using that, how do I switch to ansyslmd and lmgrd in the client side file?
    • ANSYS_MMadore
      Forum Moderator
      There's no change needed on the client side for the change at 2021R1. You still have both entries to support versions below 2021R1. If you only have 2021R1 and newer there wouldn't be a need for the ANSYSLI_SERVERS line in the ansyslmd.ini file.
    • jamiemjohnston
      Subscriber
      Took me a while to get back to this and respond, however your suggestions did work and Ansys is now running on our HPC! I can't thank you enough, excellent help!

      I do have another question though, I am very new to Ansys and I'm the system administrator so I've never used the software myself. The user would like to leverage the GPU nodes we have on the HPC to accelerate their workloads. We have 2 NVIDIA TESLA V100S cards, on separate nodes (to each other, and the node Ansys runs on). I'm struggling to figure out how to point Ansys to these nodes for use where the workload allows.
Viewing 8 reply threads
  • The topic ‘Connecting to an external license server’ is closed to new replies.
[bingo_chatbox]