I encountered an error "System Integrator FAILED" when I tried to run an incremental compile (step 3 in section 7.24 of the programming guide for intel FPGA for OpenCL, see link below) after modifying a kernel.
aoc -v -incremental -fast-compile kernel_name.cl
There was only a log file with nothing related to the error. There was no other output file that I can use to debug the issue.
So I think the compile crashed before actually compile anything.
According to the output in the command prompt (windows 10 pro), aoc compiler recognizes the directory of previous compile and based incremental compile off this directory.
Have anyone encountered the same issue ?
May I know the information as below:
- OpenCL compiler/ BSP version used
- OS used
Can you provide the hots code file and kernel code file attached here to further investigate?
The compiler is aoc version 19.2.0 build 57 pro edition on Windows 10 Pro.
Because of the work I am doing, I can't provide the code.
If you have a sample code that you know it works, I am happy to compile it to see if It's my code or the tool that caused the issue.
There is a design example code from OpenCL design exmaple page as below:
Also, there is a OpenCL Getting Started Guide as below:
There was no issue when I ran the incremental compile on the vector addition example.
The FPGA device is Arria 10 GX FPGA dev kit.
I tried to duplicate the error by adding that attribute to one kernel in vector add example above. When I ran the aoc compile, I got this error message:
C:\_qp\inc_compile\exm_opencl_vector_add_x64_windows\vector_add\device>aoc -report -v -incremental vector_add.cl aoc: Environment checks are completed successfully. aoc: Cached files in C:\Users\Q\AppData\Local\aocl may be used to reduce compilation time You are now compiling the full flow!! aoc: Selected default target board a10gx_hostpipe_net aoc: Running OpenCL parser.... In file included from c:/_qp/inc_compile/exm_opencl_vector_add_x64_windows/vector_add/device/vector_add.cl:26: c:/_qp/inc_compile/exm_opencl_vector_add_x64_windows/vector_add/device/vector_div.cl:3:16: warning: unknown attribute 'task' ignored __attribute__((task)) ^ 1 warning generated. aoc: OpenCL parser completed successfully. aoc: Linking Object files.... aoc: Found existing directory c:/_qp/inc_compile/exm_opencl_vector_add_x64_windows/vector_add/device/vector_add, basing incremental compile off this directory. Error: Can't copy Board template files: Can't open c:/_qp/inc_compile/exm_opencl_vector_add_x64_windows/vector_add/device/vector_add/ip/ethernet/ethernet_mm_clock_crossing_bridge_0/altera_avalon_mm_clock_crossing_bridge_191/synth/ethernet_mm_clock_crossing_bridge_0_altera_avalon_mm_clock_crossing_bridge_191_pbdlwri.v for write: No such file or directory
I checked the current installed BSP at that path. The file exists. Somehow during the compilation, the file wasn't copied to the vector_add project.
I did switch BSP at some point. Not sure if that caused the issue.
So I got pass the error "Can't copy Board template files..."
The incremental compile finished w/o issue for the example project. So it's not the "task" attribute that caused the issue.
I am still trying to re-create the "system integrator failed" issue using the example project. If you have any suggestion, please let me know.