<?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 Ran into this as well since I in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/ERROR-PR-incompatible-bitstream-error-detected/m-p/1156428#M6195</link>
    <description>&lt;P&gt;Ran into this as well since I wasn't familiar with all the new security features in the PAC cards. You basically need to take the extra step to either add in just the security metadata to your bitstream (unsigned), or fully encrypt your bitstream (signed). I recommend you read this document here for more info: &lt;A href="https://www.intel.com/content/www/us/en/programmable/documentation/xfr1578356347803.html#bdv1578790141701" target="_blank"&gt;https://www.intel.com/content/www/us/en/programmable/documentation/xfr1578356347803.html#bdv1578790141701&lt;/A&gt;&lt;/P&gt;&lt;P&gt;From the docs, the fastest way to test out your bitstream above would be to create an unsigned bitstream via:&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;$AOCL_BOARD_PACKAGE_ROOT/linux64/libexec/sign_aocx.sh -H openssl_manager \
-i &amp;lt;path_to_input_file/input_filename.aocx&amp;gt; -r NULL -k NULL \
-o &amp;lt;path_to_output_file/output_filename.aocx&amp;gt;&lt;/PRE&gt;

&lt;P&gt;Then you can program or run the host code provided that the output filename/pathing is still correct.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2020 06:39:12 GMT</pubDate>
    <dc:creator>Dai__Michael</dc:creator>
    <dc:date>2020-04-22T06:39:12Z</dc:date>
    <item>
      <title>**ERROR** : PR incompatible bitstream error detected</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/ERROR-PR-incompatible-bitstream-error-detected/m-p/1156425#M6192</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to set up the OpenCL compilation for my &lt;STRONG&gt;Intel Programmable Acceleration Card&lt;/STRONG&gt;. I installed the board and the acceleration software stack provided by Intel. I was able to program&amp;nbsp;the board with the hello_world.aocx and vector_add.aocx&amp;nbsp;bitstream provided in the installation folder and everything was fine. However, when I tried to compile the same hello_world kernel for my board, I got the following error when I tried to program the board with the .aocx file generated after I compiled the code with OpenCL myself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;libopae-c reconf.c:427:fpgaReconfigureSlot() **ERROR** : Failed to reconfigure bitstream: Input/output error&lt;BR /&gt;libopae-c reconf.c:450:fpgaReconfigureSlot() **ERROR** : PR incompatible bitstream error detected&lt;BR /&gt;Error writing bitstream to FPGA: reconfiguration error&lt;BR /&gt;Error programming device&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I checked the quartus_sh_compile.log and noticed the following error despite the fact the OpenCL finished compilation and generated the .aocx file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Critical Warning (125091): Tcl error: couldn't read file "a10_hpr_floorplan.qsf": no such file or directory&lt;BR /&gt;&amp;nbsp; &amp;nbsp; while executing&lt;BR /&gt;"source a10_hpr_floorplan.qsf"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; (file "afu_ip_gt.qsf" line 61)&lt;BR /&gt;Error (125080): Can't open project -- Quartus Prime Settings File contains one or more errors&lt;BR /&gt;Error (23035): Tcl error: ERROR: You must open a project before you can use this command.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; while executing&lt;BR /&gt;"set_global_assignment -name SEARCH_PATH $CCIP_AVMM_SRC/hw/rtl"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; (file "./BBB_ccip_avmm/hw/par/ccip_avmm_addenda.qsf" line 14)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; invoked from within&lt;BR /&gt;"source "$CCIP_AVMM_SRC/hw/par/ccip_avmm_addenda.qsf""&lt;BR /&gt;&amp;nbsp; &amp;nbsp; (procedure "add_bbb_assignments" line 4)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; invoked from within&lt;BR /&gt;"add_bbb_assignments"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; (file "add_bbb_to_pr_project.tcl" line 30)&lt;BR /&gt;Error (23031): Evaluation of Tcl script add_bbb_to_pr_project.tcl unsuccessful&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the latest version of Intel Acceleration Stack,&amp;nbsp;OpenCL on Ubuntu 18.04, and I also tried it on another system with rhel7.8 and the issue was same both of the times.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;I appreciate it if anybody could help me with this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;BR /&gt;Mostafa&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 03:36:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/ERROR-PR-incompatible-bitstream-error-detected/m-p/1156425#M6192</guid>
      <dc:creator>MEghb</dc:creator>
      <dc:date>2020-04-06T03:36:35Z</dc:date>
    </item>
    <item>
      <title>Hello Eghbali Mostafa,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/ERROR-PR-incompatible-bitstream-error-detected/m-p/1156426#M6193</link>
      <description>&lt;P&gt;Hello Eghbali Mostafa,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Did you try to process&amp;nbsp;via "aocl program" or via running the OpenCL host executable binary?&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Best regards,&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 12:01:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/ERROR-PR-incompatible-bitstream-error-detected/m-p/1156426#M6193</guid>
      <dc:creator>Sergey_I_Intel1</dc:creator>
      <dc:date>2020-04-06T12:01:34Z</dc:date>
    </item>
    <item>
      <title>Hi Sergey,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/ERROR-PR-incompatible-bitstream-error-detected/m-p/1156427#M6194</link>
      <description>&lt;P&gt;Hi Sergey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;I tried both, and the error is the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mostafa&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 19:20:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/ERROR-PR-incompatible-bitstream-error-detected/m-p/1156427#M6194</guid>
      <dc:creator>MEghb</dc:creator>
      <dc:date>2020-04-06T19:20:50Z</dc:date>
    </item>
    <item>
      <title>Ran into this as well since I</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/ERROR-PR-incompatible-bitstream-error-detected/m-p/1156428#M6195</link>
      <description>&lt;P&gt;Ran into this as well since I wasn't familiar with all the new security features in the PAC cards. You basically need to take the extra step to either add in just the security metadata to your bitstream (unsigned), or fully encrypt your bitstream (signed). I recommend you read this document here for more info: &lt;A href="https://www.intel.com/content/www/us/en/programmable/documentation/xfr1578356347803.html#bdv1578790141701" target="_blank"&gt;https://www.intel.com/content/www/us/en/programmable/documentation/xfr1578356347803.html#bdv1578790141701&lt;/A&gt;&lt;/P&gt;&lt;P&gt;From the docs, the fastest way to test out your bitstream above would be to create an unsigned bitstream via:&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;$AOCL_BOARD_PACKAGE_ROOT/linux64/libexec/sign_aocx.sh -H openssl_manager \
-i &amp;lt;path_to_input_file/input_filename.aocx&amp;gt; -r NULL -k NULL \
-o &amp;lt;path_to_output_file/output_filename.aocx&amp;gt;&lt;/PRE&gt;

&lt;P&gt;Then you can program or run the host code provided that the output filename/pathing is still correct.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 06:39:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/ERROR-PR-incompatible-bitstream-error-detected/m-p/1156428#M6195</guid>
      <dc:creator>Dai__Michael</dc:creator>
      <dc:date>2020-04-22T06:39:12Z</dc:date>
    </item>
    <item>
      <title>Thanks for your reply,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/ERROR-PR-incompatible-bitstream-error-detected/m-p/1156429#M6196</link>
      <description>&lt;P&gt;Thanks for your reply, Micheal. It was really helpful.&amp;nbsp;I checked that and It worked. Just one more question, do you get the same error during the code compilation? The one that saying "couldn't read file "a10_hpr_floorplan.qsf".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Mostafa,&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 02:17:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/ERROR-PR-incompatible-bitstream-error-detected/m-p/1156429#M6196</guid>
      <dc:creator>MEghb</dc:creator>
      <dc:date>2020-04-29T02:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ran into this as well since I</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/ERROR-PR-incompatible-bitstream-error-detected/m-p/1477422#M7145</link>
      <description>&lt;P&gt;Hi, I was trying to unsign the compiled aocx file. It crashes by this error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;fpga@fpgaserver2:~/A10_OPENCL/vector_add/bin$ source /home/fpga/inteldevstack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp/linux64/libexec/sign_aocx.sh -H openssl_manager -i vector_add.aocx -r NULL -k NULL -o vector_add_unsigned.aocx 
The script assumes the PACsign and Intel Acceleration Stack environment is setup. If not run the command : &amp;lt;stack_installation_path&amp;gt;/init_env.sh
hsm_manager=openssl_manager
aocx filename/path=vector_add.aocx
root_public_key=NULL
csk_public_key=NULL
output filename/path=vector_add_unsigned.aocx
null=1
openssl hsm_manager_options=openssl_manager 
input path =.
input filename =vector_add.aocx
output path =.
output filename =vector_add_unsigned.aocx
Extracted the filename as vector_add_unsigned 
1. Extracted the bin from the aocx 
2. Extracted the gzip compressed GBS file from the .bin
gzip: temp_vector_add_unsigned.gbs already exists; do you wish to overwrite (y or n)? y
3. Uncompressed .gz it to get the GBS file
Initiating PACSign tool to sign the GBS. This process will take a couple of minutes...
Creating unsigned aocx file by signing a NULL key 
No root key specified.  Generate unsigned bitstream? Y = yes, N = no: Y
No CSK specified.  Generate unsigned bitstream? Y = yes, N = no: Y
No root entry hash bitstream specified.  Verification will not be done.  Continue? Y = yes, N = no: Y
Error: Module: openssl.py, Function: __init__, Line: 332
       Failed to find crypto library (libcrypto.so).

For RedHat-based distros, install package openssl-devel.
For Debian-based distros, install package libssl-dev.
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have installed `libssl-dev` and it still causes the same error. I have edited ldconfig to add `libcrypto.so` library too.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there something I'm missing with openssl installation ?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 10:47:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/ERROR-PR-incompatible-bitstream-error-detected/m-p/1477422#M7145</guid>
      <dc:creator>Saikiranbelana</dc:creator>
      <dc:date>2023-04-17T10:47:19Z</dc:date>
    </item>
  </channel>
</rss>

