Forum Discussion

Laxmis's avatar
Laxmis
Icon for New Contributor rankNew Contributor
3 years ago

Matrix_mul in FPGA Only warning coming up

Trying to run matrix_mul in fpga. Followed same procedure mentioned in Vector add, made build_fpga_hw.sh and run_fpga_hw.sh and then

qsub -l nodes=1:fpga_compile:ppn=2 -d . build_fpga_hw.sh

qsub -l nodes=1:fpga_runtime:arria10:ppn=2 -d . run_fpga_hw.sh

This warning came up..

:: 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.

usage: source setvars.sh [--force] [--config=file] [--help] [...]
--force Force setvars.sh to re-run, doing so may overload environment.
--config=file Customize env vars using a setvars.sh configuration file.
--help Display this help message and exit.
... Additional args are passed to individual env/vars.sh scripts
and should follow this script's arguments.

Some POSIX shells do not accept command-line options. In that case, you can pass
command-line options via the SETVARS_ARGS environment variable. For example:

$ SETVARS_ARGS="ia32 --config=config.txt" ; export SETVARS_ARGS
$ . path/to/setvars.sh

The SETVARS_ARGS environment variable is cleared on exiting setvars.sh.

Can anyone please tell me where i am going wrong and what should be done..?

thanks for any help..

14 Replies

  • Hi @Laxmis,


    Thank you for posting in Intel community forum and hope all is well.

    If I understand the situation correctly, you are trying to vector add example to compile and run the Matrix Multiply Sample.

    Seems that you have successfully run the emulator with some changes on the MakeFile.

    As mention previously the Matrix Multiply are not design for FPGA, hence running in hardware would defeat the purposes of understand oneapi on FPGA.


    Hence would recommend to follow the similar project below to use the cmake to generate the make which will allow emulation and also hardware execute.

    - https://github.com/oneapi-src/oneAPI-samples/tree/488e174e2d2b3ed7584e3f604553df4dcd347238/DirectProgramming/DPC%2B%2BFPGA/ReferenceDesigns/qrd

    Hope that clarify.


    Best Wishes

    BB


  • Hi @Laxmis,


    Greetings, just checking in to see if there is any further doubts in regards to this matter.

    Hope we have clarify your doubts.


    Best Wishes

    BB


  • KennyT_altera's avatar
    KennyT_altera
    Icon for Super Contributor rankSuper Contributor

    As we do not receive any response from you on the previous answer that we have provided. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.