Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1651 Discussions

cannot get .fpga file using Devcloud

wan11
Beginner
385 Views

Hi,

 

I tried to run gzip project on OneAPI Devcloud. Here is the source code :

https://github.com/oneapi-src/oneAPI-samples/tree/master/DirectProgramming/C%2B%2BSYCL_FPGA/ReferenceDesigns/gzip

I use these following steps to run gzip on hardware:

Create a build_fpga.sh file in the directory with the following lines to compile and run the vector-add sample:

 Building the vector-add sample for Stratix10 FPGA card:

mkdir build

cd buid cmake ..

-DFPGA_DEVICE=intel_s10sx_pac:pac_s10

make fpga

Once the build_fpga.sh file is created, we submit the job to a Stratix10 node using the below command:

qsub -l nodes=1:stratix10:ppn=2 -d . -l walltime=24:00:00 build_fpga.sh

Unfortunately, .fpga. prj folder is generated, .fpga file is not generated. How to generated .fpga file?

Screen Shot 2024-04-01 at 12.12.58 AM.png

build_fpga.sh.e2515172:

Error: unable to fully generate static reports for this compile!Error: unable to fully generate static reports for this compile!Warning: could not gather information about the quartus compile for the static reports!
Couldn't open file reports/resources/json/quartus.json for reading
llvm-foreach:
icpx: error: fpga compiler command failed with exit code 42 (use -v to see invocation)
icpx: note: diagnostic msg: The FPGA image generated during this compile contains timing violations and may produce functional errors if used. Refer to the Intel oneAPI DPC++ FPGA Optimization Guide section on Timing Failures for more information.
make[3]: *** [gzip.fpga] Error 42
make[3]: *** Deleting file 'gzip.fpga'
make[2]: *** [src/CMakeFiles/gzip.fpga.dir/all] Error 2
make[1]: *** [src/CMakeFiles/fpga.dir/rule] Error 2
make: *** [fpga] Error 2

build_fpga.sh.o2515172:

Scanning dependencies of target gzip.fpga
[ 16%] Building CXX object src/CMakeFiles/gzip.fpga.dir/gzip.cpp.o
[ 33%] Building CXX object src/CMakeFiles/gzip.fpga.dir/crc32.cpp.o
[ 50%] Building CXX object src/CMakeFiles/gzip.fpga.dir/WriteGzip.cpp.o
[ 66%] Building CXX object src/CMakeFiles/gzip.fpga.dir/CompareGzip.cpp.o
[ 83%] Building CXX object src/CMakeFiles/gzip.fpga.dir/gzipkernel.cpp.o
[100%] Linking CXX executable ../gzip.fpga
warning: -reuse-exe file '/home/u208539/oneAPI-samples/DirectProgramming/C++SYCL_FPGA/ReferenceDesigns/gzip/build/gzip.fpga' not found; ignored
aoc: Compiling for FPGA. This process may take several hours to complete. Prior to performing this compile, be sure to check the reports to ensure the design will meet your performance targets. If the reports indicate performance targets are not being met, code edits may be required. Please refer to the oneAPI FPGA Optimization Guide for information on performance tuning applications for FPGAs.
aoc: Warning: A timing failure has been detected in the outputted binary. There was 1 timing violation,
which was a Setup failure of 35ps on clock:
u0|dcp_iopll|dcp_iopll_clk2x
Consider doing one or more of the following:
- Recompiling with a different seed (using -Xsseed=<S>).
- Reducing the area usage of your design.
- If you are using a custom BSP, discuss the failure with your BSP vendor.
src/CMakeFiles/gzip.fpga.dir/build.make:198: recipe for target 'gzip.fpga' failed
CMakeFiles/Makefile2:126: recipe for target 'src/CMakeFiles/gzip.fpga.dir/all' failed
CMakeFiles/Makefile2:101: recipe for target 'src/CMakeFiles/fpga.dir/rule' failed
Makefile:118: recipe for target 'fpga' failed

 

 


wanyu

.

Labels (1)
0 Kudos
0 Replies
Reply