How to set INTEL_LICENSE_FILE Environment Variable

Once you have installed the Intel FLEXlm* license server on your host license server system and installed the client application,  the INTEL_LICENSE_FILE environment variable must be set. 

Most Intel software products have a script file, e.g. for the Intel C++ compiler,  that can be run to set up the environment correctly including INTEL_LICENSE_FILE environment variable.  This environment variable must be set for proper authentication of the product license file.

Other ways to set up the INTEL_LICENSE_FILE environment variable:

On Windows* systems, follow these steps:

1. Click Start >> Control Panel > System > Advanced > Environment Variables

2. Under system variables click New.

3. Enter INTEL_LICENSE_FILE in the text box for Variable Name.

4. In the Variable value text box, input the full path to the folder where one or more licenses reside.

5. Click OK > OK > OK.

On Linux*, UNIX* and Mac* OS X systems, use following commands:

For C shell (csh), use the setenv command: 

% setenv INTEL_LICENSE_FILE </path/to/license/file>

For Bourne shell (sh), Korn shell (ksh), and bash shell (bsh), use the export and assignment commands:

$ export INTEL_LICENSE_FILE=</path/to/license/file>

where, </path/to/license/file> should be the folder in which one or more license files reside. You can provide multiple path values to the INTEL_LICENSE_FILE variable by using “:” as a separator. For example,

$ export INTEL_LICENSE_FILE=/opt/intel/licenses:$HOME/intel/licenses

For more complete information about compiler optimizations, see our Optimization Notice.