Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
675 Discussions

Failed to run FPGA program on DevCloud

Jung__Jaehoon
Beginner
292 Views

Hello.

I copied "oneapi-tookit-development.zip" from "/data/..." and ran FPGA vector add program in it.

I followed instructions in

https://software.intel.com/en-us/articles/getting-started-with-intel-devcloud-for-oneapi-projects#in...

However, I get following error messages when I run it:

 

"run_fpga_hw.sh.e8560"---------------------------------------------------------------------------------------------------

libopae-c reconf.c:427:fpgaReconfigureSlot() **ERROR** : Failed to reconfigure bitstream: Input/output error
libopae-c reconf.c:445:fpgaReconfigureSlot() **ERROR** : PR CRC error detected
Error writing bitstream to FPGA: reconfiguration error
libopae-c reconf.c:427:fpgaReconfigureSlot() **ERROR** : Failed to reconfigure bitstream: Input/output error
libopae-c reconf.c:445:fpgaReconfigureSlot() **ERROR** : PR CRC error detected
Error writing bitstream to FPGA: reconfiguration error
make: *** [run_hw] Error 255

 

"run_fpga_hw.sh.o8560"---------------------------------------------------------------------------------------------------

...
Copyright (C) 2009-2019 Intel Corporation. All rights reserved.
Intel(R) VTune(TM) Profiler 2021.1-beta02 (build 604121)
:: oneAPI environment initialized ::
./vector-add.fpga
Caught a synchronous SYCL exception:
No device of requested type available. 0 (CL_SUCCESS)
If you are targeting an FPGA hardware, please ensure that your system is plugged to an FPGA board that is set up correctlyand compile with -DFPGA
If you are targeting the FPGA emulator, compile with -DFPGA_EMULATOR.
fail
Makefile.fpga:22: recipe for target 'run_hw' failed

 

Can you help me?

 

0 Kudos
4 Replies
Pradeep_G_Intel
Employee
292 Views

Hi Jung,

Thanks for reaching out to us. Please provides details about your environment so that we can assist you with this.

Regards,

Pradeep

Jung__Jaehoon
Beginner
292 Views

I loggined in to devcloud server as user31536.

I didn't change any environments and just followed instructions in the "Getting started with Intel DevCloud for Intel oneAPI Projects".

Is this enough?

Thanks.

 

asenjo
Innovator
292 Views

Hi,

I'm in the same situation and got the same errors when trying to run vector-add on a FPGA.

Thanks,

Rafa.

Favaro__Federico
Beginner
292 Views

Hi,

I'm having the same problem. Even the "setvars.sh" script fails when trying to initialize the board:

$ source /opt/intel/inteloneapi/setvars.sh 
::  initializing environment ...
   advisor -- latest
Copyright (C) 2009-2019 Intel Corporation. All rights reserved.
Intel(R) Advisor 2021.1 (build 603889)
   ccl -- latest
   clck -- latest
   compiler -- latest
libopae-c reconf.c:427:fpgaReconfigureSlot() **ERROR** : Failed to reconfigure bitstream: Input/output error
libopae-c reconf.c:445:fpgaReconfigureSlot() **ERROR** : PR CRC error detected
Error writing bitstream to FPGA: reconfiguration error
   daal -- latest
   debugger -- latest
   dev-utilities -- latest
   dnnl -- latest
   dpcpp-ct -- latest
   inspector -- latest
Copyright (C) 2009-2019 Intel Corporation. All rights reserved.
Intel(R) Inspector 2021.1 (build 603548)
   intelfpgadpcpp -- latest
   intelpython -- latest
   ipp -- latest
   itac -- latest
   mkl -- latest
   mpi -- latest
   pytorch -- latest
   tbb -- latest
   tensorflow -- latest
   vpl -- latest
Configuring enviroment for VPL...
Adding /opt/intel/inteloneapi/vpl/latest/include to CPATH...
Adding /opt/intel/inteloneapi/vpl/latest/lib to LIBRARY_PATH and LD_LIBRARY_PATH...
Setting VPL_EXTENSIONS_PATH to /opt/intel/inteloneapi/vpl/latest/lib
   vtune -- latest
Copyright (C) 2009-2019 Intel Corporation. All rights reserved.
Intel(R) VTune(TM) Profiler 2021.1-beta02 (build 604121)
:: oneAPI environment initialized ::

I have tried to manually load the "default.aocx" using "aocl program" utility but it fails with the same error.

In my case the problem is intermittent. I was able to use the board correctly for a while, then I got the mentioned error and after a few days it disappeared on its own. Now it reappeared.

Regards,
Federico

 

Reply