LS Dyna

LS Dyna

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

LSTC_FILE Query Despite Environment Variables Being Set

    • Christoph Hollweck
      Subscriber

      Hello everyone,
      I am working on Linux Mint, and when starting a simulation with LS-DYNA in the shell, I receive the following error related to the LSTC_FILE:


       *** License problem ***
       Local license:

       *** Error Environment variable LSTC_FILE not set!

      However, all environment variables are correctly defined as follows:
      LSTC_LICENSE=network; LSTC_LICENSE_SERVER=ourservername.

      If I create an LSTC_FILE in the solver directory (containing #LICENSE_TYPE:network
      #LICENSE_SERVER:ourservername), the simulation works fine. But normally, the LSTC_FILE should be ignored when the environment variables are set.

      Why is the LSTC_FILE still being required?

      Thanks for your help!

      Christoph

    • igandiko
      Ansys Employee

      Are you sure the network license env is being set correctly? Perhaps you can try echo $LSTC_LICENSE_SERVER before running the job, to make sure env is set. You can also try running the job using a script. 

      #!/bin/bash

      export LSTC_LICENSE=network

      export LSTC_LICENSE_SERVER=server-name

      ls-dyna_solver_command i= input.k

    • Christoph Hollweck
      Subscriber

      Hello,

      using

      echo $LICENSE_TYPE
      echo $LICENSE_SERVER

      before starting the run returns the correct values. I usually run the job using a script.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.