How to pass Ls-Dyna license to Hyperstudy?
Hi everyone,
I have this issue trying to execute analysis with Ls-Dyna throughout Hyperstudy. I've registered Ls-Dyna.exe as a new solver execution script and I've added in the input arguments field "i={file}" in order to have my input file read by Hyperstudy. The problem is that when I check the model in the Test Models Tab I find the attached error related to license file.
I work with both network(server) licenses for Altair and Ls-Dyna. I normally run analysis in Ls-Run program. I also tried running radioss analysis through Hyperstudy and they're working too.
How can I overcome this issue with Ls-Dyna and Hyperstudy? Thank you!
Best Answer
-
i'm not expert in Dyna, but i think there's a .bat file to be called instead of the .exe file, that could take care also of the license setup.
Otherwise you might need to create a .bat/shell yourself and incluse these statements.
setenv LSTC_LICENSE network setenv LSTC_LICENSE_SERVER host_or_ip
An example script I've found here, calling licensing:
1
Answers
-
i'm not expert in Dyna, but i think there's a .bat file to be called instead of the .exe file, that could take care also of the license setup.
Otherwise you might need to create a .bat/shell yourself and incluse these statements.
setenv LSTC_LICENSE network setenv LSTC_LICENSE_SERVER host_or_ip
An example script I've found here, calling licensing:
1 -
Adriano A. Koga_21884 said:
i'm not expert in Dyna, but i think there's a .bat file to be called instead of the .exe file, that could take care also of the license setup.
Otherwise you might need to create a .bat/shell yourself and incluse these statements.
setenv LSTC_LICENSE network setenv LSTC_LICENSE_SERVER host_or_ip
An example script I've found here, calling licensing:
Many thanks for the quick answer.
Indeed, It does work as you described. I'll explain here for other interested users.
I created a .bat file wherein I wrote:
-
set LSTC_LICENSE network
-
set LSTC_LICENSE_SERVER xx.xx.xx.xxx
-
the directory of the .exe smp/mpp solver I want to use.
(See that to point Program Files folder, PROGRA~1 shall be used to avoid space in the directory)1 -