-
-
October 8, 2024 at 8:35 am
Christoph Hollweck
SubscriberHello 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
-
October 8, 2024 at 2:18 pm
igandiko
Ansys EmployeeAre 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
-
October 8, 2024 at 2:57 pm
Christoph Hollweck
SubscriberHello,
using
echo $LICENSE_TYPE
echo $LICENSE_SERVERbefore starting the run returns the correct values. I usually run the job using a script.
-
- You must be logged in to reply to this topic.
-
3467
-
1057
-
1051
-
929
-
896
© 2025 Copyright ANSYS, Inc. All rights reserved.