You may encounter the error below when compiling an OpenCL kernel for the Intel® Programmable Acceleration Card with Intel® Arria® 10 GX FPGA board on the Ubuntu operating system.
ERROR: packager tool failed to run
To work around this problem, open the following file in a text editor.
$OPAE_PLATFORM_ROOT/opencl/opencl_bsp/hardware/pac_a10/build/run.sh
Change line 26 from:
ADAPT_PACKAGER_BIN="python ./tools/packager.pyz"
to the following:
ADAPT_PACKAGER_BIN="packager"
This problem is scheduled to be fixed in a future release of the Intel® Acceleration Stack for Intel Xeon® CPU with FPGAs.