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: 11663 // Created: 2010-03-15 05:00:00 // Last Updated: 2015-10-28 19:26:51
Intel License Compilation Error (error #10052: could not check FLEXlm license)
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).
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:
1.Open a ftp connection to the target and copy the Intel license file found on the CD (please refer to this article: FTP connection with RT-LAB.
2.Open a telnet session on the target. Login as root.
3.Go to the /home/ntuser directory. You should find the license file you just copied.
4.Move the file to the /opt/intel/licenses directory with the following command: mv /home/ntuser/name_of_license /opt/intel/licenses
5.Reboot the target and try to compile your model again.