-
-
May 21, 2020 at 2:32 pm
yugiohmumi
SubscriberI am setting up the license for our ANSYS users right now.Â
Right now, to grant access to ANSYS on our systems for specific users, I am using the environment variables:
export ANSYSLMD_LICENSE_FILE=1055@license_system_info_here (for each individual user)
based on the information posted here:
/forum/forums/topic/configuring-linux-client-in-command-line-mode-to-remote-license-manager-server/
However, "1055@license_system_info_here" is not a real license file.Â
Is there any ANSYS variable that allows me to keep the license information in a real file (so that we have more management for the access control)?
Here is what we expect:
- There will be no default license at ansyslmd.ini.
- We will provide a license file like this to users:
$ cat mylicensefile
SERVER=1055@license_system_info_here
ANSYSLI_SERVERS=2325@license_system_info_here
- Define a variable to point to the license file like:
export ANSYS_LICENSE=mylicensefile
Thanks a lot,
Â
-
May 21, 2020 at 10:19 pm
tsiriaks
Ansys EmployeeSo, basically you want to know if there is an environment variable to set a non-default location of ansyslmd.ini file.
I don't think this is possible.Â
Â
However, there is a workaround to achieve something similar to this but the content of the file is not the same syntax as that in ansyslmd.ini.
The content must be like this:
Â
SERVER
ANY
VENDOR ansyslmd
USE_SERVER
INCREMENT any ansyslmd any
Â
Only
and part must be replaced by the actual server information. The rest must be exactly like this.
Then, you can just set ANSYSLMD_LICENSE_FILE to point to this file.
-
May 21, 2020 at 10:44 pm
yugiohmumi
SubscriberThat works for me. Thanks a lot.
Do I need the "ANSYSLI_SERVERS" settings in the file as well like:
ANSYSLI_SERVERS mymachine ANY 2325
Best wishes,
Â
-
May 22, 2020 at 11:22 pm
tsiriaks
Ansys EmployeePerfect ! Glad it works for you !
The ANSYSLI_SERVERS is needed only if your License Manager is not running ANSYS LI (Licensing Interconnect) on its default port (2325).Â
So, if you are using 2325, there is no need to set it anywhere (environment variable or in that file).
-
May 23, 2020 at 1:30 am
yugiohmumi
SubscriberThanks a lot!
-
May 28, 2020 at 5:36 pm
tsiriaks
Ansys EmployeeYou are welcome !
-
- The topic ‘License file for ANSYS users’ is closed to new replies.
-
3712
-
1313
-
1163
-
1090
-
1014
© 2025 Copyright ANSYS, Inc. All rights reserved.