JasperW99
New Contributor
4 years agoError messages while following vector-add tutorial
I tried to follow the vector-add on FPGA tutorial (https://github.com/intel/FPGA-Devcloud/tree/master/main/QuickStartGuides/OneAPI_Program_PAC_Quickstart/Arria%2010 ), but I keep running into error messages when I try to execute it on the hardware. The output I get is
:: WARNING: setvars.sh has already been run. Skipping re-execution. To force a re-execution of setvars.sh, use the '--force' option. Using '--force' can result in excessive use of your environment variables. ./vector-add-buffers.fpga Error enumerating AFCs: not found Error enumerating AFCs: not found Error enumerating AFCs: not found Error enumerating AFCs: not found Makefile.fpga:41: recipe for target 'run_hw' failed make: *** [run_hw] Segmentation fault
I compiled it using
qsub -l nodes=1:fpga_compile:ppn=2 build_hw.sh -d .
and I tried to run it on a node with an Arria 10 FPGA using
qsub -l nodes=1:fpga_runtime:arria10:ppn=2 run_hw.sh -d .
As source for the run_hw.sh I used:
#!/bin/bash source /opt/intel/inteloneapi/setvars.sh make run_hw -f Makefile.fpga
And for the build_hw.sh I used:
#!/bin/bash source /opt/intel/inteloneapi/setvars.sh make hw -f Makefile.fpga
Now is my question here, is there something wrong with my FPGA compilation flow, or does this problem have another cause? If you are able to run this tutorial succesfully, I would like to hear it too.
P.S. I hope I placed this under the right category