aws / aws-fpga

Official repository of the AWS EC2 FPGA Hardware and Software Development Kit
Other
1.51k stars 516 forks source link

No Platforms Found #530

Closed wanyuzhan closed 3 years ago

wanyuzhan commented 3 years ago

In AWS FPGA instance, when I want to create an application project in Vitis 2021.1. I cannot select a platform from repository. The platform I selected was xilinx_aws_vu9p-f1_shell-v04261818_201920_2.xpfm. The error shows in the doc. Shall you help me with this case? platform error.docx

deeppat commented 3 years ago

Hello @wanyuzhan, have you run vitis_setup.sh?

wanyuzhan commented 3 years ago

Yes. I have. I followed this tutorial step-by-step.

deeppat commented 3 years ago

Hi @wanyuzhan, Can you link to the tutorial so we can reproduce this issue?

wanyuzhan commented 3 years ago

Hi Aws/Aws-Fpga,

Thanks for your help! I solve it by creating a new instance.

Wanyu

On Thu, Jul 29, 2021 at 2:48 PM Deep Patel @.***> wrote:

Hi @wanyuzhan https://github.com/wanyuzhan, Can you link to the tutorial so we can reproduce this issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aws/aws-fpga/issues/530#issuecomment-889483160, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKOVCASZMFMIIQQ63XHVCC3T2HEENANCNFSM5BHHSPEQ .

wanyuzhan commented 3 years ago

Hi Deep,

Sorry to bother you, in order to run gzipc in Vitis GUI, the path is Vitis_Libraries/data_compression/L2/tests/gzipc. I tried to find all kernel codes in the gzipc project. Shall I know which files belong to the kernel? Also, some files were not found in the kernel when I did the software emulation but they can be found in the host . Shall I know how to solve it? [image: Screen Shot 2021-07-31 at 9 38 00 PM] https://user-images.githubusercontent.com/43864322/127759436-10f2bc7e-2efb-477b-98dd-620d9b893851.png

Wanyu

On Thu, Jul 29, 2021 at 2:48 PM Deep Patel @.***> wrote:

Hi @wanyuzhan https://github.com/wanyuzhan, Can you link to the tutorial so we can reproduce this issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aws/aws-fpga/issues/530#issuecomment-889483160, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKOVCASZMFMIIQQ63XHVCC3T2HEENANCNFSM5BHHSPEQ .

deeppat commented 3 years ago

@wanyuzhan Hi Wanyu, how are you running the emulation? Can you note down each step you took here so we can help further.

Thanks,

Deep

wanyuzhan commented 3 years ago

Hi Deep,

Thanks for your reply. I changed to run gzip_app in Vitis GUI, the path is Vitis_Libraries https://github.com/Xilinx/Vitis_Libraries/data_compression https://github.com/Xilinx/Vitis_Libraries/tree/master/data_compression/L3 https://github.com/Xilinx/Vitis_Libraries/tree/master/data_compression/L3/ demos https://github.com/Xilinx/Vitis_Libraries/tree/master/data_compression/L3/demos /gzip_app/. In this case, I met some errors. I am expecting your reply and help. These are my following questions.

These following steps show how I built and emulated the application project.

Thanks for your help again. Looking forward to your response.

Wanyu

On Wed, Aug 4, 2021 at 8:24 AM Deep Patel @.***> wrote:

@wanyuzhan https://github.com/wanyuzhan Hi Wanyu, how are you running the emulation? Can you note down each step you took here so we can help further.

Thanks,

Deep

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aws/aws-fpga/issues/530#issuecomment-892751799, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKOVCAUR3CJTMKBEJNSDSXDT3FLUVANCNFSM5BHHSPEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

wanyuzhan commented 3 years ago

Hi Aws/Aws-Fpga,

Thanks for your help, I have solved these problems.

Wanyu

On Fri, Aug 6, 2021 at 4:16 PM Wanyu Zhang @.***> wrote:

Hi Deep,

Thanks for your reply. I changed to run gzip_app in Vitis GUI, the path is Vitis_Libraries https://github.com/Xilinx/Vitis_Libraries/ data_compression https://github.com/Xilinx/Vitis_Libraries/tree/master/data_compression/ L3 https://github.com/Xilinx/Vitis_Libraries/tree/master/data_compression/L3 /demos https://github.com/Xilinx/Vitis_Libraries/tree/master/data_compression/L3/demos /gzip_app/. In this case, I met some errors. I am expecting your reply and help. These are my following questions.

  • Shall I know which files belong to the kernel of the gzip_app project?
  • Some files were not found in the kernel when I did the software emulation but they can be found in the host.
  • [image: Screen Shot 2021-08-05 at 8.29.51 PM.png]
  • When I did kernel's software emulation, I encountered errors which are shown in this figure.
  • [image: Screen Shot 2021-08-05 at 8.32.15 PM.png]

These following steps show how I built and emulated the application project.

  • I created a new application project in vitis 2021.1. AlsoI downloaded and installed xilinx_u250_gen3x16_xdma_3_1_202020_1 as the test platform. Are there any other plug-ins for U250 that I need to download ?
  • After I created the project, I clicked on the import sources inside the host. This figure shows all the codes I imported.
  • [image: Screen Shot 2021-08-05 at 8.30.29 PM.png]
  • Then I clicked on the import sources inside the kernel. This figure shows all the codes I imported.
  • [image: Screen Shot 2021-08-05 at 8.31.12 PM.png]
  • Then I created the kernel's binary container. In this case, I chose xilDecompress as the kernel.
  • After the kernel was created, I built the kernel's software emulation and got these errors.

Thanks for your help again. Looking forward to your response.

Wanyu

On Wed, Aug 4, 2021 at 8:24 AM Deep Patel @.***> wrote:

@wanyuzhan https://github.com/wanyuzhan Hi Wanyu, how are you running the emulation? Can you note down each step you took here so we can help further.

Thanks,

Deep

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aws/aws-fpga/issues/530#issuecomment-892751799, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKOVCAUR3CJTMKBEJNSDSXDT3FLUVANCNFSM5BHHSPEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

deeppat commented 3 years ago

Hi @wanyuzhan,

I see that you had installed the u250 platform files, however F1 is a different platform and you'd need to source vitis_setup.sh in order to download the platform. The environment variable: $AWS_PLATFORM should point to the platform file after vitis_setup.sh has run successfully!

I am glad you were able to find a resolution. Please reopen this issue if you need more guidance!

Thanks, Deep

wanyuzhan commented 3 years ago

Hi Deep,

Thanks for your mention! Does it mean I can use the F1 platform in the vitis_library project? If my guess is right, Where should I point the environment variable?

Wanyu

On Mon, Aug 9, 2021 at 7:45 AM Deep Patel @.***> wrote:

Hi @wanyuzhan https://github.com/wanyuzhan,

I see that you had installed the u250 platform files, however F1 is a different platform and you'd need to source vitis_setup.sh in order to download the platform. The environment variable: $AWS_PLATFORM should point to the platform file after vitis_setup.sh has run successfully!

I am glad you were able to find a resolution. Please reopen this issue if you need more guidance!

Thanks, Deep

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aws/aws-fpga/issues/530#issuecomment-895285258, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKOVCARIELGBRITAP6C7IG3T37S2BANCNFSM5BHHSPEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .