Intel Software: Intel FPGA SDK for OpenCL, Quartus Prime Pro, Quartus Prime Standard

Type: Answers, KDB Area

Area: Embedded, OpenCL

Last Modified: November 30, 2018
Version Found: v18.1
Bug ID: FB: 609712, 1408301759;

Why do I get the error “Unable to determine the execution environment” when running the “aocl version” command in the Intel SDK for OpenCL?


Due to an issue in version 18.1.0 of the Intel® FPGA Runtime Environment for OpenCL™, the  command “aocl version” will produce the following errors:

aocl: Unable to determine the execution environment of the Intel(R) FPGA Runtime Environment for OpenCL(TM).
aocl:   Detailed error: Could not find SDK internal libraries directory /opt/intel/intelFPGA_pro/18.1/aclrte-linux64/linux64/lib
aocl:   Detailed error: Could not determine the path to SDK internal libraries


The workaround is to run the following command to create the directory that the command is looking for.

$ mkdir -p $INTELFPGAOCLSDKROOT/linux64/lib  


This issue is expected to be fixed in a future update to the Intel FPGA Runtime Environment for OpenCL.