Host ID is required to register a license. According to this article, Host ID is the MAC address of eth0. However, what my PC has is enp0s25 rather than eth0. So, I used the MAC address of enp0s25 to register a license and placed it in /opt/intel/licenses/.
When I executed icc, it gives the following information:
$ icc Error: A license for (Comp-CL) could not be found. License file(s) used were (in this order): 1. Trusted Storage ** 2. /opt/intel/licenses/NCOM____3VGW-GX7RW6P9_1.lic ** 3. /opt/intel/compilers_and_libraries_2017.4.196/linux/bin/intel64/../../Licenses ** 4. /home/purboo/Licenses ** 5. /Users/Shared/Library/Application Support/Intel/Licenses ** 6. /opt/intel/compilers_and_libraries_2017.4.196/linux/bin/intel64/*.lic Please refer https://software.intel.com/en-us/faq/licensing#invalid-license-error for more information.. icc: error #10052: could not checkout FLEXlm license
How can I resolve this issue? Thank you!