LS Dyna

LS Dyna

Topics related to LS-DYNA, Autodyn, Explicit STR and more.

License Issue for Development Version of LS-DYNA on Supercomputer

    • Kendrick Shepherd
      Subscriber
      My research requires that I use a development version of LS-DYNA, which I receive from ANSYS personnel and update on a semi-regular basis. Last year, my institution's LS-DYNA license was connected with an LSTC license file, which was appropriately referenced by our supercomputer in a file named LSTC_FILE, which has the following format:
       
      #LICENSE_TYPE: network
      #LICENSE_SERVER: @
       
      This LSTC_FILE was (and is) located in the same directory as the development builds of LS-DYNA, and, prior to this year, I was able to run a variety of analyses using thse development versions of LS-DYNA.
       
      This year we have been unable to connect our valid license files with these development versions of LS-DYNA. Originally, we simply had an ANSYS license file that has LS-DYNA functionality supported, but referencing the appropriate host and port yielded a licensing error. We have now received an LSTC license file (in addition to, but not clearly necessary) to accompany our ANSYS license file and connected this with the original server/port that hosted our LSTC license last year. We anticipated that this would have solved the problem. However, I am still receiving an error message stating 
       
       
      *** License problem ***
       Network license:
       *** Error License client cannot find any servers to talk to.
                     Servers may be down, not ready, or the wrong version.
        
       *** Error 70022 (OTH+22)
       
       
      Nonetheless, ncat commands indicate that the connections on our needed to find both the LSTC and the ANSYS license files are working. Furthermore, basic run commands also appear to work successfully on the non-development version of LS-DYNA that we have installed. I have screenshots demonstrating this, but for privacy reasons choose to not post them here. We have tried modifying our LSTC_FILE with each of the different ports and addresses necessary to refer to these license files, but to no avail. At this point, we are at a loss on how to access the software. 
       
      1. With the change of the year, did a "hello" message necessary to communicate with the license change?
      2. Do we need to modify the format of the LSTC_FILE, or refer to this license some other way?
      3. Should we just be able to use our generic ANSYS license file to run these beta versions of LS-DYNA, or do we need the LSTC license file to run these executables? We have both licenses, and both are being found from our login node, but for some reason the executables are not recognizing these licenses.
       
      How can we proceed in getting our license issues resolved?
    • Reno Genest
      Ansys Employee

      Hello Kendrick,

      You should be able to use both the Ansys and LSTC licenses to run the DEV LS-DYNA solver. It works on my machine.

      LSTC license:

      The following error message indicates a communication problem between the client machine and the LSTC license server:

       *** Error License client cannot find any servers to talk to.
                     Servers may be down, not ready, or the wrong version.

      Here are potential root causes:

      • The LSTC license server is not running.
      • LS-DYNA is pointing to the wrong LSTC license server (this can happen if the environment variables are not set properly).
      • There is no network route between the LS-DYNA solver on the client machine and the LSTC License Server. Try to ping the server from the client machine.
      • A firewall is blocking the connections from LS-DYNA to the license server.

      When using the LSTC license, make sure the following 2 environment variables are set on the client machines (where you run the LS-DYNA solver):

      LSTC_LICENSE=network

      LSTC_LICENSE_SERVER=31010@hostname_of_LSTC_License_Server

       

      The above 2 environment variables will have precedence over the LSTC_FILE and so you don't need the LSTC_FILE. Maybe the environment variables are currently not set properly and they have precedence over the LSTC_FILE and pointing to the wrong LSTC license server.

      Also, in the above env var, I specify 31010 which is the default port for the LSTC license manager. If the default port was not changed, make sure that port 31010 is open on both the license server and the client machines (check firewall).

      Let me know how it goes after doing the above.

      You will find more information on the LSTC license on Linux here:

      https://ftp.lstc.com/user/download-instructions/License-Manager/LSTC_LicenseManager-InstallationGuide.pdf

      Username: user

      Password: computer

       

      Ansys license:

      To use the Ansys license to run the LS-DYNA solver, set the following environment variables on the client machines:

      LSTC_LICENSE=ansys

      ANSYSLMD_LICENSE_FILE=1055@SERVER_HOSTNAME

       

      Let me know how it goes.

       

      Reno.

    • Kendrick Shepherd
      Subscriber

      Reno,

      Thank you very much for your help! I updated my batch file to explicitly set the two environment variables on the client machines that you indicated. All of our processes appear to be working correctly once again.

      Again, I really appreciate your assistance!

    • Reno Genest
      Ansys Employee

      Hello Kendrick,

      I am glad it works now. Updating the batch file is a good way to do it. 

      Have a good day!

       

      Reno.

Viewing 3 reply threads
  • The topic ‘License Issue for Development Version of LS-DYNA on Supercomputer’ is closed to new replies.