Article ID: 000086388 Content Type: Troubleshooting Last Reviewed: 11/30/2018

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

Environment

  • Intel® Quartus® Prime Pro Edition
  • Intel® Quartus® Prime Standard Edition
  • Intel® FPGA SDK for OpenCL™ Pro Edition
  • BUILT IN - ARTICLE INTRO SECOND COMPONENT
    Description

    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

    Resolution

    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.

    Related Products

    This article applies to 1 products

    Intel® Programmable Devices