Tagged: installation, lisence, ls-dyna
-
-
May 25, 2022 at 1:04 am
lex_93
SubscriberThe smp solver is successively compiled at a red hat 8 machine, but I cannot check the license from our license server. The error message is
*** License problem ***
Local license:
*** Error Environment variable LSTC_FILE not set!
but I've put the LSTC_FILE under '/usr/local/lstc/LSTC_FILE.txt' which include the following information:
#LICENSE_TYPE: network
#LICENSE_SERVER: 137.99.3.84
And the IP of the new workstation is in a allowed range, so I'm wondering if any extra setup is needed.
-
May 25, 2022 at 12:13 pm
George Karnos
Ansys EmployeeWhat licensing are you using ANSYS or LSTC?
If ANSYS, Make sure the following is set:
Variable:LSTC_LICENSE
Variable Value: ANSYS
-
May 25, 2022 at 4:25 pm
Reno Genest
Ansys Employee
Have you set the LSTC_LICENSE_FILE environment variable? If so, I would unset it and use the following environment variables on the client machine instead:
LSTC_LICENSE=network
LSTC_LICENSE_SERVER=host-or-IP-of-license-server
With the method above, you won't use the LSTC_FILE, which is okay.
I assume you are using the LSTC license to run LS-DYNA.
Let me know if this helps or not.
Reno.
-
May 25, 2022 at 5:32 pm
lex_93
SubscriberHi Reno
Thanks for your reply. Just to verify, the environment variable setup is to add the following two lines
LSTC_LICENSE=network
LSTC_LICENSE_SERVER=host-or-IP-of-license-server
to my bashrc, right?
-
May 25, 2022 at 5:41 pm
Reno Genest
Ansys Employee
You should be able to set environment variables using the terminal:
setenv LSTC_LICENSE network
setenv LSTC_LICENSE_SERVER host_or_ip
Let me know how it goes.
Reno.
-
May 25, 2022 at 5:48 pm
lex_93
Subscribersetenvis not a valid command for red hat. I'm wondering if there's any other way to set it up.
-
May 25, 2022 at 5:52 pm
Reno Genest
Ansys Employee
The bashrc seems the way to go for red hat:
"export VARNAME=var_value
type this in /etc/bashrc as root and it will be set system-wide
type this in ~/.bashrc and it will be set for your user"
https://www.researchgate.net/post/How-to-set-environment-variable-in-red-hat-linux
Let me know if it works or not.
Reno.
-
May 25, 2022 at 7:26 pm
lex_93
SubscriberHi Reno
By setting the .bashrc as your solution
export LSTC_LICENSE="network";
export LSTC_LICENSE_SERVER="137.99.3.84";
it solves the previous error message, but another one pops up as follows:
```
[root@19dcn83 lstc]# ./ls-dyna_smp_d_R10_2_0_x64_redhat5_ifort160 i=RUN_main.k
License option : check network license only
Date: 05/25/2022Time: 15:09:54
___________________________________________________
||
|LivermoreSoftwareTechnologyCorporation|
||
|7374 Las Positas Road|
|Livermore, CA 94551|
|Tel: (925) 449-2500Fax: (925) 449-2507|
|www.lstc.com|
|_________________________________________________|
||
|LS-DYNA, A Program for Nonlinear Dynamic|
|Analysis of Structures in Three Dimensions|
|Version : smp d R10.2.0Date: 03/05/2019|
|Revision: 135267Time: 15:49:10|
||
|Features enabled in this version:|
|Shared Memory Parallel|
|CESE CHEMISTRY EM ICFD STOCHASTIC_PARTICLES|
|FFTW (multi-dimensional FFTW Library)|
|ARPACK (nonsymmetric eigensolver library)|
|Interactive Graphics|
|ANSYS Database format|
|ANSYS License (ANSYS160)|
||
|Licensed to:|
||
|Platform: Xeon64 System|
|OS Level: Linux 2.6.32 uum|
|Compiler: Intel Fortran Compiler 16.0 SSE2|
|Hostname: 19dcn83|
|Precision: Double precision (I8R8)|
|SVN Version: 135479|
||
|Unauthorized use infringes LSTC copyrights|
|_________________________________________________|
> i=RUN_main.k
*** License problem ***
Network license:
*** Error License client cannot find any servers to talk to.
Servers may be down, not ready, or the wrong version.
Please contact
Livermore Software Technology Corporation
Tel: (925) 449-2500
Fax: (925) 449-2507
Email: key@lstc.com
```
And I'm sure the IP of our current windows license server is 137.99.3.84 . I'm wondering if you have any suggestions on this error. Thank you.
-
May 26, 2022 at 6:15 pm
lex_93
SubscriberHi Reno
The previous error message is caused by the server user didn't turn on TCP and UDP ports 31010. By adding these port on the firewall, the issue is solved. Thank you.
-
May 26, 2022 at 6:19 pm
Reno Genest
Ansys Employee
Sounds good! Thanks for letting the community know.
Reno.
-
February 4, 2023 at 2:28 am
Johannes Johannes
SubscriberI am having a similar issue trying to run LSTC LS-Dyna. The system is Red Hat (actually Rocky Linux 8.7). I initially set the variables as follows:
export LSTC_LICENSE=networkexport LSTC_LICENSE_SERVER=31010@159.196.42.234export LSTC_INTERNAL_CLIENT=offwhich gave the following error output:*** Error lstc_client failed: No such file or directory*** License problem ***Network license:*** Error Could not run license client*** Error 70022 (OTH+22)Based on this thread, I then changed the way I set the variables to:export LSTC_LICENSE="network"
export LSTC_LICENSE_SERVER="159.196.42.234"
export LSTC_INTERNAL_CLIENT="off"which gave a slightly different error:*** License problem ***Network license:*** Error License client died!*** Error 70022 (OTH+22)After that, I also tried temporarily disabling the licence server's firewall, which resulted in the same error. I don't know if the first or second configuration is closer to correct.Does anyone have advice about the possible causes of this error? -
February 6, 2023 at 3:58 am
Johannes Johannes
SubscriberThe solution here was to remove export LSTC_INTERNAL_CLIENT="off" from the script. This apparently allows LS-Dyna to use the lstc_client which is built into the executable, rather than running it as a standalone process. Just be aware that this may cause version compatibility issues, so it may be better to use export LSTC_INTERNAL_CLIENT="off" with the standalone lstc_client in some cases.
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Error with workbench SceneGraphChart
- How can I renew ANSYS student version license?
- License Error
- Workbench error
- Workbench not opening
- Sizing on Ansys Workbench 19.2
- Error: Exception of type ‘Ansys.Fluent.Cortex.Cortex not availableException’ was thrown
- Ansys2021R2 ansys212 seg faults immediately on RHEL8.2
- Licensing error while opening ANSYS Mechanical
- An error occurred when the post processor attempted to load a specific result.
-
3720
-
2570
-
1775
-
1236
-
594
© 2023 Copyright ANSYS, Inc. All rights reserved.