Forum Discussion

Puya's avatar
Puya
Icon for New Contributor rankNew Contributor
6 years ago
Solved

oneAPI on DevCloud fails on building for FPGAs

Hi, I have access to Intel DevCloud to try oneAPI. and I use `qsub -I` to open interactive terminal I tried to make FPGA examples from BaseKit-code-samples , but `make fpga` shows an error ``` ...
  • MEIYAN_L_Intel's avatar
    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