Installation and Operations Guide > Installing the MSC.License Server > A.8 MSC_LICENSE_FILE and LM_LICENSE_FILE
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">   
A.8 MSC_LICENSE_FILE and LM_LICENSE_FILE
By default, all FLEXlm products use the environment variable LM_LICENSE_FILE to define the location of the license file (i.e. license.dat), or the server and port number (i.e. 1700@servername). This includes Patran products. For example:
# setenv LM_LICENSE_FILE /msc/msc_licensing/flexlm/licenses/license.dat
This presents a problem, however, when Patran is used in the same environment with other products (CAD packages, solvers, etc.) that also use FLEXlm. If the LM_LICENSE_FILE variable is set to the Patran license file location, these other products may not locate their licenses and vice versa.
For this reason, all MSC products use their own variable, MSC_LICENSE_FILE, to identify the location of the license file, or the server and port number. The MSC.Software Corporation recommends using MSC_LICENSE_FILE for all MSC products. However, for all intents and purposes, these variables are equivalent.
# setenv MSC_LICENSE_FILE /msc/msc_licensing/flexlm/licenses/license.dat
If both environment variables are set, Patran will use the MSC_LICENSE_FILE setting.
If you wish more information on LM_LICENSE_FILE consult the Acresso supplied documentation (see Additional Documentation, 132). For additional information on the MSC_LICENSE_FILE variable see Environment Variables, 50.