Controlling the Default Behavior of Power on Demand Licensing
You can set up and control the default behavior of PoD licensing using environment variables.
The CDLMD_LICENSE_FILE environment variable specifies the PoD license server. This environment variable must be present on your machine before you can use PoD licensing.
The LM_PROJECT environment variable specifies a specific PoD key to use when using the PoD license server. This optional environment variable is useful if you want to always use a specific key when working with Simcenter STAR-CCM+.
Setting Variables on Linux
-
Modify the script that sets your Linux environment:
Shell Variable Example Bourne Shell CDLMD_LICENSE_FILE
export CDLMD_LICENSE_FILE=1999@flex.cd-adapco.com
LM_PROJECT
export LM_PROJECT=<PoD_key>
Where
<PoD_key>
is one of the Power on Demand keys that are defined in the Power on Demand database. See Managing License Keys.C Shell CDLMD_LICENSE_FILE
setenv CDLMD_LICENSE_FILE 1999@flex.cd-adapco.com
LM_PROJECT
setenv LM_PROJECT <PoD_key>
Where
<PoD_key>
is one of the Power on Demand keys that are defined in the Power on Demand database. See Managing License Keys.
Setting Variables on Windows
Use the Environment Variables dialog to create the PoD variables:
- Click Start and type env into the search field near the bottom of the Start menu.
-
Select
Edit environment variables for your account from the list of results.
The Environment Variables dialog appears.
-
In the
System variables group box, click
New....
The New System Variable dialog appears.
-
Enter the details for the variables:
- For the
CDLMD_LICENSE_FILE variable, set the following properties:
Property Setting Variable name CDLMD_LICENSE_FILE Variable value 1999@flex.cd-adapco.com - For the LM_PROJECT
variable, set the following properties:
Property Setting Variable name LM_PROJECT Variable value <PoD_key> Where
<PoD_key>
is one of the Power on Demand keys that are defined in the Power on Demand database. See Managing License Keys.
- For the
CDLMD_LICENSE_FILE variable, set the following properties:
- Click OK to close the New System Variable dialog.
- Click OK to close the Environment Variables dialog.