<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error when running aocl install in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Error-when-running-aocl-install/m-p/1328377#M6923</link>
    <description>&lt;P&gt;Hi QG,&lt;/P&gt;
&lt;P&gt;can you please elaborate what are the steps to do to work aocl install on 5.3.0.45&lt;/P&gt;
&lt;P&gt;regards&lt;BR /&gt;Nikhil&lt;/P&gt;</description>
    <pubDate>Tue, 09 Nov 2021 07:59:21 GMT</pubDate>
    <dc:creator>nikhl</dc:creator>
    <dc:date>2021-11-09T07:59:21Z</dc:date>
    <item>
      <title>Error when running aocl install</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Error-when-running-aocl-install/m-p/1156329#M6187</link>
      <description>&lt;P&gt;Below is the terminal command and all output for running aocl install on s10_ref supplied with the FPGA SDK for OpenCL for Ubuntu. Some of the install works, then it crashes for the reasons given below.&lt;/P&gt;&lt;P&gt;To try and fix the error, I reinstalled linux-headers-generic but it did not fix the error. Thank you for any help with this issue.&lt;/P&gt;&lt;P&gt;sudo env "PATH=$PATH" aocl install .&lt;BR /&gt;Do you want to setup the FCD at directory /opt/Intel/OpenCL/Boards [Y/n] y&lt;BR /&gt;aocl install: Setting up the FPGA Client Driver (FCD) to the system. This process may require admin privilege&lt;BR /&gt;Install the FCD file to /opt/Intel/OpenCL/Boards&lt;BR /&gt;aocl install: Adding the board package /home/niko/intelFPGA_pro/19.4/hld/board/s10_ref to the list of installed packages&lt;BR /&gt;Installing the board package driver to the system.&lt;BR /&gt;aocl install: Running install from /home/niko/intelFPGA_pro/19.4/hld/board/s10_ref/linux64/libexec&lt;BR /&gt;Looking for kernel source files in /lib/modules/5.3.0-45-generic/build&lt;BR /&gt;Using kernel source files from&amp;nbsp; /lib/modules/5.3.0-45-generic/build&lt;BR /&gt;Building driver for BSP with name s10_ref&lt;BR /&gt;make: Entering directory '/usr/src/linux-headers-5.3.0-45-generic'&lt;BR /&gt;&amp;nbsp; CC &lt;M&gt;&amp;nbsp; /tmp/opencl_driver_s5Q4ey/aclpci_queue.o&lt;BR /&gt;&amp;nbsp; CC &lt;M&gt;&amp;nbsp; /tmp/opencl_driver_s5Q4ey/aclpci.o&lt;BR /&gt;/tmp/opencl_driver_s5Q4ey/aclpci.c: In function ‘load_signal_info’:&lt;BR /&gt;/tmp/opencl_driver_s5Q4ey/aclpci.c:371:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]&lt;BR /&gt;&amp;nbsp;&amp;nbsp; struct siginfo *info = &amp;amp;aclpci-&amp;gt;signal_info;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&lt;BR /&gt;/tmp/opencl_driver_s5Q4ey/aclpci.c:382:8: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]&lt;BR /&gt;&amp;nbsp;&amp;nbsp; info = &amp;amp;aclpci-&amp;gt;signal_info_dma;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&lt;BR /&gt;cc1: some warnings being treated as errors&lt;BR /&gt;scripts/Makefile.build:288: recipe for target '/tmp/opencl_driver_s5Q4ey/aclpci.o' failed&lt;BR /&gt;make[1]: *** [/tmp/opencl_driver_s5Q4ey/aclpci.o] Error 1&lt;BR /&gt;Makefile:1655: recipe for target '_module_/tmp/opencl_driver_s5Q4ey' failed&lt;BR /&gt;make: *** [_module_/tmp/opencl_driver_s5Q4ey] Error 2&lt;BR /&gt;make: Leaving directory '/usr/src/linux-headers-5.3.0-45-generic'&lt;BR /&gt;aocl install: failed.&lt;BR /&gt;aocl install: Removing FCD&lt;BR /&gt;aocl install: Removing the board package /home/niko/intelFPGA_pro/19.4/hld/board/s10_ref from the list of installed packages&lt;/M&gt;&lt;/M&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Apr 2020 15:27:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Error-when-running-aocl-install/m-p/1156329#M6187</guid>
      <dc:creator>SICILIANO__NIKOLAS</dc:creator>
      <dc:date>2020-04-05T15:27:11Z</dc:date>
    </item>
    <item>
      <title>Hi Nikolas,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Error-when-running-aocl-install/m-p/1156330#M6188</link>
      <description>&lt;P&gt;Hi Nikolas,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is your Ubuntu version and Linux kernel version?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 09:37:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Error-when-running-aocl-install/m-p/1156330#M6188</guid>
      <dc:creator>Sergey_I_Intel1</dc:creator>
      <dc:date>2020-04-07T09:37:37Z</dc:date>
    </item>
    <item>
      <title>Hi Sergey,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Error-when-running-aocl-install/m-p/1156331#M6189</link>
      <description>&lt;P&gt;Hi Sergey,&lt;/P&gt;&lt;P&gt;Ubuntu version is 18.04.1 and my kernel version is 5.3.0-45-generic.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;</description>
      <pubDate>Sat, 11 Apr 2020 17:40:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Error-when-running-aocl-install/m-p/1156331#M6189</guid>
      <dc:creator>SICILIANO__NIKOLAS</dc:creator>
      <dc:date>2020-04-11T17:40:10Z</dc:date>
    </item>
    <item>
      <title>Hi Nikolas,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Error-when-running-aocl-install/m-p/1156332#M6190</link>
      <description>&lt;P&gt;Hi Nikolas,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to downgrade your kernel to 4.15 and install sources and headers for 4.15.&lt;/P&gt;&lt;P&gt;This should help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 12:04:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Error-when-running-aocl-install/m-p/1156332#M6190</guid>
      <dc:creator>Sergey_I_Intel1</dc:creator>
      <dc:date>2020-04-13T12:04:04Z</dc:date>
    </item>
    <item>
      <title>Hi Nikolas,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Error-when-running-aocl-install/m-p/1156333#M6191</link>
      <description>&lt;P&gt;Hi Nikolas,&lt;/P&gt;&lt;P&gt;You will need to make some changes to the drivers to get it to install in Ubuntu 18.04, but its doable.&amp;nbsp; I have it running on my machine with kernel 5.3.0. See&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;QG&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 18:16:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Error-when-running-aocl-install/m-p/1156333#M6191</guid>
      <dc:creator>Quant_Geek</dc:creator>
      <dc:date>2020-04-13T18:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error when running aocl install</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Error-when-running-aocl-install/m-p/1328377#M6923</link>
      <description>&lt;P&gt;Hi QG,&lt;/P&gt;
&lt;P&gt;can you please elaborate what are the steps to do to work aocl install on 5.3.0.45&lt;/P&gt;
&lt;P&gt;regards&lt;BR /&gt;Nikhil&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 07:59:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Error-when-running-aocl-install/m-p/1328377#M6923</guid>
      <dc:creator>nikhl</dc:creator>
      <dc:date>2021-11-09T07:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Hi Nikolas,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Error-when-running-aocl-install/m-p/1339585#M6933</link>
      <description>&lt;P&gt;Iam trying to run some examples provide at Intel Documentation with Intel PAC card plugged in to PCIe slot, but when I run the following command on a docker container, It shows the following message and doesn't install properly. I'm not able to program or run any examples.&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;aocl install&lt;/LI-CODE&gt;&lt;LI-CODE lang="bash"&gt;root@bac2b2449b6a:~/a10_gx_pac_ias_1_2_1_pv_rte_installer/components# aocl install
Do you want to setup the FCD at directory /opt/Intel/OpenCL/Boards [Y/n] Y
aocl install: Setting up the FPGA Client Driver (FCD) to the system. This process may require
admin privilege
Install the FCD file to /opt/Intel/OpenCL/Boards  
aocl install: Adding the board package /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/ope
ncl_bsp to the list of installed packages
Installing the board package driver to the system.
aocl install: Running install from /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_
bsp/linux64/libexec
WARNING: Intel PAC device not found&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When I run,&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;aocl diagnose&lt;/LI-CODE&gt;
&lt;P&gt;I'm getting the following output,&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;root@bac2b2449b6a:~/a10_gx_pac_ias_1_2_1_pv_rte_installer/components# aocl diagnose
--------------------------------------------------------------------
ICD System Diagnostics                                              
--------------------------------------------------------------------

Using the following location for ICD installation: 
        /etc/OpenCL/vendors

Found 1 icd entry at that location:
        /etc/OpenCL/vendors/Altera.icd

the following OpenCL libraries are referenced in the icd files:
        libalteracl.so

checking LD_LIBRARY_PATH for registered libraries:
        libalteracl.so was registered on the system at /opt/opencl_rte/aclrte-linux64/host/linux64/lib

Using the following location for fcd installations:
        /opt/Intel/OpenCL/Boards

Found 1 fcd entry at that location:
        /opt/Intel/OpenCL/Boards/dcp_bsp.fcd

the following OpenCL libraries are referenced in the fcd files:
        /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp/linux64/lib/libintel_opae_mmd.so

checking LD_LIBRARY_PATH for registered libraries:
        /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp/linux64/lib/libintel_opae_mmd.so was registered on the system.

ERROR: OpenCL host failed
--------------------------------------------------------------------
ICD diagnostics FAILED                                              
--------------------------------------------------------------------
--------------------------------------------------------------------
BSP Diagnostics                                                     
--------------------------------------------------------------------
--------------------------------------------------------------------
Warning:
No devices attached for package:
/root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp
--------------------------------------------------------------------
Vendor: Intel Corp

No active device installed on the host machine.
      Please consult documentation for troubleshooting steps

DIAGNOSTIC_FAILED
--------------------------------------------------------------------

Call "aocl diagnose &amp;lt;device-names&amp;gt;" to run diagnose for specified devices
Call "aocl diagnose all" to run diagnose for all devices
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the FPGA is getting detected when I run&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;fpgainfo fme&lt;/LI-CODE&gt;&lt;LI-CODE lang="bash"&gt;root@bac2b2449b6a:~/a10_gx_pac_ias_1_2_1_pv_rte_installer/components# fpgainfo fme
Board Management Controller, microcontroller FW version 26895
Last Power Down Cause: POK_CORE
Last Reset Cause: None
//****** FME ******//
Object Id                     : 0xF000000
PCIe s:b:d:f                  : 0000:86:00:0
Device Id                     : 0x09C4
Socket Id                     : 0x00
Ports Num                     : 01
Bitstream Id                  : 0x124000200000367
Bitstream Version             : 1.2.4
Pr Interface Id               : 38d782e3-b612-5343-b934-2433e348ac4c
Boot Page                     : user
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you please help me in resolving the errors?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Nov 2021 05:55:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Error-when-running-aocl-install/m-p/1339585#M6933</guid>
      <dc:creator>Saikiranbelana</dc:creator>
      <dc:date>2021-11-27T05:55:43Z</dc:date>
    </item>
  </channel>
</rss>

