Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-00589// Views: AA-00589// Created: 2010-03-15 05:00:00// Last Updated: 2021-08-26 16:00:06
Q&A
Intel License Compilation Error (error #10052: could not checkout FLEXlm license)

Question

I am compiling on RedHat and I am getting an Intel License compilation error during the "Building the generated C code" part. It mentions that I have no such license. The error message is:

Error: A license for CCompL could not be obtained (-1,359,2).

Is your license file in the right location and readable?
The location of your license file should be specified via
the $INTEL_LICENSE_FILE environment variable.

License file(s) used were (in this order):
    1.  Trusted Storage
    2.  /opt/intel/Compiler/11.1/056/licenses
    3.  /opt/intel/licenses/*.lic
    4.  /intel/licenses
    5.  /opt/intel/Compiler/11.1/056/Licenses
    6.  /Users/Shared/Library/Application Support/Intel/Licenses

Please visit http://support.intel.com/support/performancetools/support.htm if you require technical assistance.

icc: error #10052: could not checkout FLEXlm license
make: *** [benchmark_rts_rt_1_sm_master.o] Error 1 

Answer

This error message indicates that there is no Intel license installed on your RedHat target. 

Some customer choose not to purchase the Intel license, if it is your case you need to deactivate the Intel compiler on RT-LAB by forcing the variable RTLAB_INTEL_COMPILER to 0 in the menu Window > Preferences as shown below.


If you purchased the Intel license, it is provided by Opal-RT at delivery and is already properly installed on a target. If this error occurs, it is possible to reinstall the license, which can be found on the CD delivered with your system. In order to install the license again you can follow this article