Device Family: Intel® Arria® 10, Intel® Arria® 10 GX, Intel® Arria® 10 SX, Intel® Cyclone® 10 GX, Intel® Cyclone® 10 LP, Cyclone® V GT, Cyclone® V SX, Intel® Stratix® 10

Intel Software: Intel FPGA SDK for OpenCL

Type: Answers, KDB Area

Unable to unlock /intelFPGA_pro/17.1.1/hld/installed_packages


In version 17.1, installing the drivers for an OpenCL™ BSP can fail if the user does not have permisstion to write to the installation directory.  (Due to a shared drive for example).  The issue is that version 17.1 of the SDK for OpenCL now tries to write some files to the SDK installation directory during aocl install. 

Errors reported:

touch: cannot touch '/intelFPGA_pro/17.1.1/hld/.inst_pkg_busy.marker': Permission denied

Unable to unlock /intelFPGA_pro/17.1.1/hld/installed_packages



In update 1, (version 17.1.1) the user can now set an environment variable to direct the installation script to save the files in a directory that the user has write permissions.

>export AOCL_INSTALLED_PACKAGES_ROOT="/my_path/writeable_path/"

>sudo aocl install

       or if the above commands do not work

>sudo env AOCL_INSTALLED_PACKAGES_ROOT=/my_path/writeable_path/ aocl install

Scheduled to be fixed in a future version of the SDK for OpenCL.