Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.
1217 Discussions

Arria 10 - Uninitialized

aamila
Beginner
175 Views

Hello,

 

we are trying to use Arria 10 on Intel DevCloud to compile some OpenCL code, however the device status is "Uninitialized". This has worked before, however in the last two days it is not working. Please advise us what to do.

 

I'm providing the output of "aocl diagnose" command:

 

u172aaa@s005-n002:~$ aocl diagnose

--------------------------------------------------------------------

ICD System Diagnostics                                              

--------------------------------------------------------------------

 

Using the following location for ICD installation: 

/etc/OpenCL/vendors

 

Found 2 icd entry at that location:

/etc/OpenCL/vendors/Altera.icd

/etc/OpenCL/vendors/Intel_FPGA_SSG_Emulator.icd

 

the following OpenCL libraries are referenced in the icd files:

libalteracl.so

libintelocl_emu.so

 

checking LD_LIBRARY_PATH for registered libraries:

libalteracl.so was registered on the system at /glob/development-tools/versions/fpgasupportstack/a10/1.2.1/intelFPGA_pro/hld/host/linux64/lib

libintelocl_emu.so was registered on the system at /glob/development-tools/versions/fpgasupportstack/a10/1.2.1/intelFPGA_pro/hld/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:

/opt/a10/inteldevstack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp/linux64/lib/libintel_opae_mmd.so

 

checking LD_LIBRARY_PATH for registered libraries:

/opt/a10/inteldevstack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp/linux64/lib/libintel_opae_mmd.so was registered on the system.

 

Number of Platforms = 2 

1. Intel(R) FPGA SDK for OpenCL(TM)                             | Intel(R) Corporation           | OpenCL 1.0 Intel(R) FPGA SDK for OpenCL(TM), Version 19.4

2. Intel(R) FPGA Emulation Platform for OpenCL(TM)              | Intel(R) Corporation           | OpenCL 1.0 Intel(R) FPGA SDK for OpenCL(TM), Version 19.2

--------------------------------------------------------------------

ICD diagnostics PASSED                                              

--------------------------------------------------------------------

--------------------------------------------------------------------

BSP Diagnostics                                                     

--------------------------------------------------------------------

--------------------------------------------------------------------

Device Name:

acl0

 

BSP Install Location:

/opt/a10/inteldevstack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp

 

Vendor: Intel Corp

 

Physical Dev Name   Status            Information

 

pac_ee00000         Uninitialized     OpenCL BSP not loaded. Must load BSP using command: 

                                      'aocl program <device_name> <aocx_file>'

                                      before running OpenCL programs using this device

 

DIAGNOSTIC_PASSED

--------------------------------------------------------------------

 

Call "aocl diagnose <device-names>" to run diagnose for specified devices

Call "aocl diagnose all" to run diagnose for all devices

0 Kudos
4 Replies
aamila
Beginner
170 Views

Trying to program the device also generates a problem.

 

u172aaa@s005-n002:~/A10_OPENCL_AFU/vector_add/bin$ aocl program acl0 vector_add_fpga.aocx

aocl program: Running program from /opt/a10/inteldevstack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp/linux64/libexec

libopae-c reconf.c:427:fpgaReconfigureSlot() **ERROR** : Failed to reconfigure bitstream: Input/output error

libopae-c reconf.c:450:fpgaReconfigureSlot() **ERROR** : PR incompatible bitstream error detected

Error writing bitstream to FPGA: reconfiguration error

Error programming device

aocl program: Program failed.

AayushiR_Intel
Moderator
150 Views

Hi,


Thanks for posting in Intel Communities. 


We are working on this internally and get back to you soon.


Thanks,

Aayushi


AayushiR_Intel
Moderator
61 Views

Hi,


We are sorry for the delay. 


You can run the below command.


aocl initialize acl0


Since the BSP is properly installed this will initialize the FPGA and have it ready for programming.

 

Thanks,

Aayushi

 


AayushiR_Intel
Moderator
17 Views

Hi,


We have not heard back from you. Could you please provide the updates.


Thanks,

Aayushi



Reply