- Newest
- Most votes
- Most comments
Hello,
For Error 1:
In this case you might want to run as root as it seems like your user does not have privileges to run.
For Error 2:
Try running the following commands:
sudo -E /bin/bash
source <AWS_FPGA_REPO_DIR>/sdaccel_runtime_setup.sh
./helloword *.awsxclbin
Also check that you have permissions to load the AFI that you created.
To find out the AFI it is trying to load from the awsxclbin, run the following command:
cat vector_addition.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin | strings | grep AGFI
To see if you have permissions to load the AFI, try loading it manually:
cat *.awsxclbin | strings | grep agfi | xargs fpga-load-local-image -S0 -I
This output should show something like:
AFI 0 agfi-096d0d8abcdefg loaded 0 ok 0 0x04261818
AFIDEVICE 0 0x1d0f 0xf010 0000:00:1d.0
If it isn't loading, that means your account does not have permissions to load the AFI. You would have to use the modify image attribute from the account credentials you used to create the AFI to allow your other accounts to load it:https://docs.aws.amazon.com/cli/latest/reference/ec2/modify-fpga-image-attribute.html
Please feel free to let us know if this doesn't work.
-Deep
Relevant content
- asked 4 years ago
- asked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 9 months ago