Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Nick
Beginner
360 Views

Issue running OpenVINO 2019.1 classification sample on Arria 10

I am working with an Arria 10 PAC card in a server running RHEL 7.6. I have ensured the firmware on the PAC is up to date (1.2) and am using the fpga_2019.1.133 release of OpenVINO. I followed the steps outlined at https://docs.openvinotoolkit.org/latest/_docs_install_guides_PAC_Configure_2019R1.html and get to the point of attempting to run the classification_sample with the -d HETERO:FPGA,CPU flag. The same script appears to run fine in CPU only mode. Here is the error output.

[ INFO ] Loading model to the plugin   FAILED to read auto-discovery string at byte 44. Full auto-discovery string value is 17 c12babe577632f8d6172495d8daa78017e42fb2a pac_a10 0 0 2 1024 0 4294967296 4294967296 8589934592 0 7 DLA_VERSION_4_4x2x16x64_fp11_sb18823_i1_actk8_poolk8_owk8_image224x224 0 128 0 0 1 0 1 0 0 0 0 1 1 1 3 1 1 1 0 bias_reader 256 128 0 0 1 0 1 0 2 2 1 8 2 1 8 0 0 1 1 1 3 1 1 1 0 config_reader 512 128 0 0 1 0 1 0 2 2 1 8 0 0 4 0 0 1 1 1 3 1 1 1 0 filter_reader 768 256 0 0 1 0 1 0 6 2 1 8 2 1 8 0 0 4 0 0 4 0 0 4 0 0 4 0 0 1 1 1 3 1 1 1 0 input_reader 1024 128 0 0 1 0 1 0 4 2 1 8 2 1 8 0 0 4 0 0 4 0 0 1 1 1 3 1 1 1 0 output_writer 1280 128 0 0 1 0 1 0 2 2 1 8 2 1 8 0 0 1 1 1 3 1 1 1 0 perf_writer 1536 128 0 0 1 0 1 0 1 2 1 8 0 0 1 1 1 3 1 1 1 0   acl_hal_mmd.c:1393:assert failure: Failed to initialize kernel interfaceclassification_sample: acl_hal_mmd.c:1393: l_try_device: Assertion `0' failed.   Aborted (core dumped)

I can provide the output of the test commands I ran leading up to that error if that helps.

0 Kudos
8 Replies
JohnT_Intel
Employee
82 Views

Hi,

 

May I know if you are able to switch it to CentOS, Ubuntu or Yocto as this is the tested OS for OpenVINO?

Nick
Beginner
82 Views

If will see if that is possible with a spare server however my target environment has to be Red Hat. Is there anything that can be checked/confirmed on the existing installation?

JohnT_Intel
Employee
82 Views

Currently we have only verified the OpenVINO and PAC card in the 3 OS. Let me try out to see if I am able to make it work in Redhat OS.

JohnT_Intel
Employee
82 Views

Hi,

 

I have tried OpenVINO on Redhat OS and it is working fine on my side.

 

May I know if you have performed the step 7 in https://docs.openvinotoolkit.org/latest/_docs_install_guides_GX_Configure_2019R1.html (implement the fixed in fpga_support_files.tgz)?

 

The script might not be able to be run due to it is for Ubuntu but you will need to manually implement the fixed. Please let me know if you have issue implementing the fixed.

Nick
Beginner
82 Views

I am glad to hear it worked for you on Red Hat. I did not try that as I was following the steps outlined at https://docs.openvinotoolkit.org/latest/_docs_install_guides_PAC_Configure_2019R1.html. I will give that a go.

JohnT_Intel
Employee
82 Views

Hi,

May I know if you are able to make it work from your side?

Nick
Beginner
82 Views

John, I believe the culprit on my system was a reference to an OpenCL instance from a previous (2018.x) version of OpenVINO. After I repaired the 2019 R1.1 installation and pointed the INTELFPGAOCLSDKROOT environment variable to /opt/altera/aocl-pro-rte/aclrte-linux64 I was able to get a result using the classification sample running on the PAC. Thanks for the help.

Shawn_S_Intel
Employee
82 Views

This can happen if you are not using the 18.1.2 OpenCL RTE. Intel Acceleration Stack v1.2 installs RTE 17.1.1 so this can easily happen. The IAS init_env.sh script will be pointing to this 17.1.1 RTE.

 

OpenVINO 2019.R* installs the correct OpenCL RTE for the OpenVINO FPGA bitstreams (perhaps in /opt/altera/aocl-pro-rte). Make sure that your initialization scripts point to it rather than to the OpenCL RTE that is installed with IAS 1.2.

 

Reply