LS Dyna

LS Dyna

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

LS Dyna – can’t reach license server

    • Roberto Gomez
      Subscriber
      A researcher at Robert Morris University is trying to run 
      LS-DYNA (ls-dyna_mpp_d_R12_1_0_x64_centos78_ifort160_avx2_intelmpi-2018) on our RHEL 8.8 cluster (bridges2.psc.edu) at the Pittsburgh Supercomputing Center (PSC) while checking a license off their Robert Morris University (RMU) license server - the server is here: 27014@acadlms03.ad.rmu.edu.  
       
      We verified we can contact the license server from the Bridges2.psc.edu cluster  at PSC and can query it, e.g.:
       
      $ /opt/packages/ansys/shared_files/licensing/linx64/lmutil lmstat -c 27014@acadlms03.ad.rmu.edu -a

      and it reports 0 licenses in use for many features including dyna.  We can access the license server from the compute nodes in the cluster.
       
      But, we are not getting LS-DYNA to talk to the license server. We tried setting (bash shell):
         
         export LSTC_LICENSE=network
         export LSTC_LICENSE_SERVER=27014@acadlms03.ad.rmu.edu
       
      and running LS-DYna with:
       
      $  mpirun -np 1 ./ls-dyna_mpp_d_R10_2_0_x64_centos65_ifort160_avx2_intelmpi-2018 i=Main_ALE_Boundary_Controls.k memory=500m
       
      but we get the error message:
       
       License option : check network license only
            Date: 01/29/2024      Time: 12:16:58  

       *** License problem ***
       Network license:
       *** Error License client cannot find any servers to talk to.
                     Servers may be down, not ready, or the wrong version.
       
      Is there a set of ports beyond obvious one (27014) that must be opened in the RMU firewall that would no be obviously open as per the "lmutil lmstat -c ... -a" test above?
       
      Thanks, -Roberto Gomez, gomez@psc.edu. (412) 855-0020
    • Reno Genest
      Ansys Employee

      Hello Roberto,

      Are you using the Ansys license and the Ansys license manager to run LS-DYNA? If so, you need to set the following environment variables on the client machine (cluster):

      export LSTC_LICENSE=ansys
      export ANSYSLMD_LICENSE_FILE=1055@acadlms03.ad.rmu.edu

      The default port for the Ansys license is 1055.

       

      Let me know if this helps or not.

       

      Reno.

       

      • Roberto Gomez
        Subscriber

        Hi Reno,

        I think the answer is yes, they are using the Ansys license manager, they provided me with their Entitlement ID if you need it to verify.

        This is what I get (first few lines) when querying their server:

        [gomez@r002 temp]$  /opt/packages/ansys/shared_files/licensing/linx64/lmutil lmstat -c 27014@acadlms03.ad.rmu.edu -a | more
        lmutil - Copyright (c) 1989-2015 Flexera Software LLC. All Rights Reserved.
        Flexible License Manager status on Wed 1/31/2024 13:29

        License server status: 27014@ACADLMS03.ad.rmu.edu
            License file(s) on ACADLMS03.ad.rmu.edu: C:\Program Files\ANSYS Inc\Shared Files\Licensing\license_files\ansyslmd.lic:

        ACADLMS03.ad.rmu.edu: license server UP (MASTER) v11.19.0

        Vendor daemon status (on ACADLMS03.ad.rmu.edu):

          ansyslmd: UP v11.19.0

        Setting just those two environment variables and retrying, I end up with:

        [gomez@r002 temp]$ mpirun -np 1 ./ls-dyna_mpp_d_R10_2_0_x64_centos65_ifort160_avx2_intelmpi-2018 i=Main_ALE_Boundary_Controls.k memory=500m
         License option : check ansys licenses only
              Date: 01/31/2024      Time: 13:14:50  

             ___________________________________________________
             |                                                 |
             |  Livermore  Software  Technology  Corporation   |
             |                                                 |
             |  7374 Las Positas Road                          |
             |  Livermore, CA 94551                            |
             |  Tel: (925) 449-2500  Fax: (925) 449-2507       |
             |  www.lstc.com                                   |
             |_________________________________________________|
             |                                                 |
             |  LS-DYNA, A Program for Nonlinear Dynamic       |
             |  Analysis of Structures in Three Dimensions     |
             |  Version : mpp d R10.2.0   Date: 03/05/2019     |
             |  Revision: 135267          Time: 15:49:10       |
             |                                                 |
             |  Features enabled in this version:              |
             |    Distributed Memory Parallel                  |
             |    CESE CHEMISTRY EM ICFD STOCHASTIC_PARTICLES  |
             |    FFTW (multi-dimensional FFTW Library)        |
             |    ANSYS License (ans160)                       |
             |                                                 |
             |  Licensed to:                                   |
             |                                                 |
             |  Platform   : Intel-MPI 2018 Xeon64             |
             |  OS Level   : Linux CentOS 6.5 uum              |
             |  Compiler   : Intel Fortran Compiler 16.0 AVX-2 |
             |  Hostname   : r002.ib.bridges2.psc.edu          |
             |  Precision  : Double precision (I8R8)           |
             |  SVN Version: 135714                            |
             |                                                 |
             |  Unauthorized use infringes LSTC copyrights     |
             |_________________________________________________|


        ANSYS LICENSE MANAGER ERROR:
        Could not connect to any license server. 
        The server is down or is not responsive. 
            ANSYSLI_SERVERS: 2325@acadlms03.ad.rmu.edu 
            FLEXlm Servers: 1055@acadlms03.ad.rmu.edu

          ******** UNEXPECTED ERROR - NETWORK TASK CONTROL INCONSISTENCY *******        

         Please contact your ANSYS Sales Representative or ANSYS, Inc.

        I don't know if this helps, but I thought of checking if those ports are open on their firewall:

        [gomez@r002 temp]$ telnet acadlms03.ad.rmu.edu 2325
        Trying 192.203.233.236...
        ^C
        [gomez@r002 temp]$ telnet acadlms03.ad.rmu.edu 1055
        Trying 192.203.233.236...
        ^C

        I think they are not open, while the port that I was told the license server is setup on (27014) is open:

        [gomez@r002 temp]$ telnet acadlms03.ad.rmu.edu 27014
        Trying 192.203.233.236...
        Connected to acadlms03.ad.rmu.edu.
        Escape character is '^]'.
        ^CConnection closed by foreign host.

        Your help is much appreciated.

        Best, -Roberto

    • Reno Genest
      Ansys Employee

      Hello Roberto,

      Please make sure port 1055 and 2325 are open. I don't know what port 27014 is.

       

      Let me know how it goes.

       

      Reno.

    • 1617836513
      Subscriber

         ___________________________________________________

           | |

           | Livermore Software Technology Corporation |

           | |

           | 7374 Las Positas Road |

           | Livermore, CA 94551 |

           | Tel: (925) 449-2500 Fax: (925) 449-2507 |

           | www.lstc.com |

           |_________________________________________________|

           | |

           | LS-DYNA, A Program for Nonlinear Dynamic |

           | Analysis of Structures in Three Dimensions |

           | Version : smp s R8.1.0 Date: 02/24/2016 |

           | Revision: 105896 Time: 14:28:04 |

           | |

           | Features enabled in this version: |

           | Shared Memory Parallel |

           | FFTW (multi-dimensional FFTW Library) |

           | Interactive Graphics |

           | ANSYS Database format |

           | ANSYS License (ANSYS145) |

           | |

           | Licensed to: |

           | |

           | Platform : WINDOWS X64 |

           | OS Level : Windows 7/8/10 & Server 2008/2010 |

           | Compiler : Intel Fortran XE 2013 MSVC++ 2010 |

           | Hostname : xianxianxian |

           | Precision : Single precision (I4R4) |

           | SVN Version: 105897 |

           | |

           | Unauthorized use infringes LSTC copyrights |

           |_________________________________________________|

       

       

       Executing with ANSYS license

       

       Input file: d:\penetr~1\budong.k

       

       The native file format : 32-bit small endian

       Memory size from default : 20000000

      As a new user of ansys, I may have encountered an "Unauthorized use infringes LSTC copyrights" issue. When I modified an environment variable, the issue was not resolved. I don't know what other problem is causing me to not be able to do the calculations properly. Thank you for your help.

    • 1617836513
      Subscriber

       ___________________________________________________
           |                                                 |
           |  Livermore  Software  Technology  Corporation   |
           |                                                 |
           |  7374 Las Positas Road                          |
           |  Livermore, CA 94551                            |
           |  Tel: (925) 449-2500  Fax: (925) 449-2507       |
           |  www.lstc.com                                   |
           |_________________________________________________|
           |                                                 |
           |  LS-DYNA, A Program for Nonlinear Dynamic       |
           |  Analysis of Structures in Three Dimensions     |
           |  Version : smp s R8.1.0    Date: 02/24/2016     |
           |  Revision: 105896          Time: 14:28:04       |
           |                                                 |
           |  Features enabled in this version:              |
           |    Shared Memory Parallel                       |
           |    FFTW (multi-dimensional FFTW Library)        |
           |    Interactive Graphics                         |
           |    ANSYS Database format                        |
           |    ANSYS License (ANSYS145)                     |
           |                                                 |
           |  Licensed to:                                   |
           |                                                 |
           |  Platform   : WINDOWS X64                       |
           |  OS Level   : Windows 7/8/10 & Server 2008/2010 |
           |  Compiler   : Intel Fortran XE 2013 MSVC++ 2010 |
           |  Hostname   : xianxianxian                      |
           |  Precision  : Single precision (I4R4)           |
           |  SVN Version: 105897                            |
           |                                                 |
           |  Unauthorized use infringes LSTC copyrights     |
           |_________________________________________________|


       Executing with ANSYS license

       Input file: d:\penetr~1\budong.k

       The native file format       : 32-bit small endian
       Memory size from default     :    20000000

       on UNIX computers note the following change:

       ctrl-c interrupts ls-dyna and prompts for a sense  switch.
       type the desired sense switch: sw1., sw2., etc. to continue
       the execution.  ls-dyna will respond as explained in the users manual

          type                      response
         -----   ------------------------------------------------------------
         quit    ls-dyna terminates.
         stop    ls-dyna terminates.
         sw1.    a restart file is written and ls-dyna terminates.
         sw2.    ls-dyna responds with time and cycle numbers.
         sw3.    a restart file is written and ls-dyna continues calculations.
         sw4.    a plot state is written and ls-dyna continues calculations.
         lpri    toggle implicit lin. alg. solver output on/off
         nlpr    toggle implicit nonlinear solver output on/off
         iter    toggle implicit output to d3iter database on/off
         prof    output timing data to messag and continue
         conv    force implicit nonlinear convergence for current time step


       ********  notice  ********  notice  ********  notice  ********
       *                                                            *
       * This is the LS-DYNA Finite Element code.                   *
       *                                                            *
       * Neither LSTC nor the authors assume any responsibility for *
       * the validity, accuracy, or applicability of any results    *
       * obtained from this system. The user must verify his own    *
       * results.                                                   *
       *                                                            *
       * LSTC endeavors to make the LS-DYNA code as complete,       *
       * accurate and easy to use as possible.                      *
       * Suggestions and comments are welcomed.  Please report any  *
       * errors encountered in either the documentation or results  *
       * immediately to LSTC through your site focus.               *
       *                                                            *
       * Copyright (C) 1990-2016                                    *
       * by Livermore Software Technology Corp. (LSTC)              *
       * All rights reserved                                        *
       *                                                            *
       ********  notice  ********  notice  ********  notice  ********

       Beginning of keyword reader                                   04/04/24 12:32:40

       Memory required to process keyword     :      350314

      I don't know what problems my file is having with the calculations.

       

    • Reno Genest
      Ansys Employee

      Hello Ji,

      Please create a new forum post and clearly state the problem and the error message.

      Thank you.

       

      Reno.

Viewing 5 reply threads
  • The topic ‘LS Dyna – can’t reach license server’ is closed to new replies.