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.
Installation and Licensing

Installation and Licensing

Q&A around getting started with Ansys software.

“Error: Could not connect to Ansys license server specified at:…”

    • tingjun.zheng18
      Subscriber

      Hello,

      I am in the process of installing and running ANSYS Lumerical on my college's high-performance computing cluster, which I don't have root access to. The cluster runs RHEL 8 and has no GUI, so I have to do everything through the command line.

      I tried to configure my license by setting the environment variable, ANSYSLMD_LICENSE_FILE, by doing "export ANSYSLMD_LICENSE_FILE=1055@{myserver}" following this KB Lumerical license configuration from the command line – Ansys Optics. {myserver} is what I would normally put in the license section in the Ansys Optics Launcher on my personal desktop, which works fine.

      However, on the HPC, I still get an error in the .log file saying the following:

      """

      All processes are communicating and ready to proceed to simulation...
      CPU threads per process: 1
      Error: Could not connect to Ansys license server specified at 1055@{myserver}
      Would you like to reconfigure your license settings?
      , Response: No
      License error: Could not connect to Ansys license server specified at 1055@{myserver}
      Error: there was a failure with the license. Process number: 0 had this error

      """

      Can I please get some help on configuring my license properly on the cluster? I really appreciate any help you can provide.

       
    • Rajeshwari Jadhav
      Forum Moderator

       

      Hi Tingiun,

      Check if you are able to communicate with server follow below command in your command prompt/terminal.

      ping servername

      telnet servername portno.

      If it passes both then please add both the variable and try again.

      ANSYSLMD_LICENSE_FILE=1055@servername

      ANS_FLEXLM_DISABLE_DEFLICPATH=1

       

      • tingjun.zheng18
        Subscriber

        Hi Rajeshwari,

        Thank you for your reply. I have tested the communication with my license server, and the results are as follows:

        • ping {servername}: it returns replies, e.g. “64 bytes from {myserver} (2a0c:5bc0:4c:ff::92b3:20eb): icmp_seq=1 ttl=119 time=3.45 ms”
        • telnet {servername} {portno}: our HPC does not have telnet installed, so I used a bash built-in alternative timeout 3 bash -c “/dev/tcp/servername/portno” && echo OPEN || echo CLOSED, which returns OPEN.

        I think our HPC can communicate with my license server on port 1055. I have added the environmental variables and tried again. However, I am still getting exactly the same error.

        Do you have any idea what else might have gone wrong? Thanks in advance for your help!

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
[bingo_chatbox]