oneAPI on DevCloud fails on building for FPGAs
- 6 years ago
Hi,
I have try to run compile the with FPGA emulator and hardware with the command as below:
ssh decloud
git clone https://github.com/intel/BaseKit-code-samples.git
qsub -I -l nodes=1:fpga:ppn=2 -d .
cd BaseKit-code-samples/DPC++Compiler/vector-add/
vi build_fpga_emu.sh
#!/bin/bash
source /opt/intel/inteloneapi/setvars.sh
make fpga_emu -f Makefile.fpga
vi run_fpga_emu.sh
#!/bin/bash
source /opt/intel/inteloneapi/setvars.sh
make run_emu -f Makefile.fpga
vi build_fpga_hw.sh
#!/bin/bash
source /opt/intel/inteloneapi/setvars.sh
make hw -f Makefile.fpga
vi run_fpga_hw.sh
#!/bin/bash
source /opt/intel/inteloneapi/setvars.sh
make run_hw -f Makefile.fpga
qsub -I -l nodes=1:fpga:ppn=2 -d . build_fpga_emu.sh
qsub -I -l nodes=1:fpga:ppn=2 -d . run_fpga_emu.sh
qsub -I -l nodes=1:fpga:ppn=2 -d . build_fpga_hw.sh
qsub -I -l nodes=1:fpga:ppn=2 -d . run_fpga_hw.sh
I have saw the output is success by using command "cat".
I will check internally with the related information again.
Thanks