Open Hassan313 opened 4 years ago
I'v already created a new AWS instance(based on AMI - ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-20180308 (ami-38708b45)) to flush the flow. I do not meet such a issue. Please make sure you have already installed AWS SDK and move the driver to the right place.
What's more, we need to make sure we are using the right AMI and AWS instance Choose an Amazon Machine Image (AMI): we recommend the “nvdla_vp_fpga_ami_ubuntu”
Choose an instance type: we recommend the “f1.2xlarge”.
I'v already created a new AWS instance(based on AMI - ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-20180308 (ami-38708b45)) to flush the flow. I do not meet such a issue. Please make sure you have already installed AWS SDK and move the driver to the right place.
I am using the other AMI recommendation which the http://nvdla.org/vp_fpga.html has stated:
FPGA Developer AMI” (CentOS)
You are saying the SDK will not be installed properly on this type?
I'v already created a new AWS instance(based on AMI - ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-20180308 (ami-38708b45)) to flush the flow. I do not meet such a issue. Please make sure you have already installed AWS SDK and move the driver to the right place.
I followed the instructions stated all in the below image one by one:
Should I do something else to make the SDK to be installed?
Not sure, I do not tried this AMI.
Not sure, I do not tried this AMI.
Sure, I will go with the same instance as you said shortly (in an hour).
Thank you very much.
I'v already created a new AWS instance(based on AMI - ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-20180308 (ami-38708b45)) to flush the flow. I do not meet such a issue. Please make sure you have already installed AWS SDK and move the driver to the right place.
I followed the instructions stated all in the below image one by one:
Should I do something else to make the SDK to be installed? Make sure You have follow below to install aws-fpga sdk https://github.com/aws/aws-fpga/tree/master/sdk
I'v already created a new AWS instance(based on AMI - ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-20180308 (ami-38708b45)) to flush the flow. I do not meet such a issue. Please make sure you have already installed AWS SDK and move the driver to the right place.
I followed the instructions stated all in the below image one by one: Should I do something else to make the SDK to be installed? Make sure You have follow below to install aws-fpga sdk https://github.com/aws/aws-fpga/tree/master/sdk
@taog2018
So I should not checkout the version v1.4.0 of the aws-fpga? Because in the below image it is saying that we have to go with version 1.4.0.
I'v already created a new AWS instance(based on AMI - ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-20180308 (ami-38708b45)) to flush the flow. I do not meet such a issue. Please make sure you have already installed AWS SDK and move the driver to the right place.
I followed the instructions stated all in the below image one by one: Should I do something else to make the SDK to be installed? Make sure You have follow below to install aws-fpga sdk https://github.com/aws/aws-fpga/tree/master/sdk
@taog2018
So I should not checkout the version v1.4.0 of the aws-fpga? Because in the below image it is saying that we have to go with version 1.4.0.
Yes, we need v1.4.0
I'v already created a new AWS instance(based on AMI - ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-20180308 (ami-38708b45)) to flush the flow. I do not meet such a issue. Please make sure you have already installed AWS SDK and move the driver to the right place.
I followed the instructions stated all in the below image one by one: Should I do something else to make the SDK to be installed? Make sure You have follow below to install aws-fpga sdk https://github.com/aws/aws-fpga/tree/master/sdk
@taog2018 So I should not checkout the version v1.4.0 of the aws-fpga? Because in the below image it is saying that we have to go with version 1.4.0.
Yes, we need v1.4.0
so there is nothing I have to follow from the below link;
https://github.com/aws/aws-fpga/tree/master/sdk
I have to follow the instructions in the below image:
Am I right?
@taog2018
I just ran the command setup sdk_setup.sh
It is saying the below:
Build complete.
Root privileges are required to install. You may be asked for your password... Executing as root...
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin AWS FPGA: Copying Amazon FPGA Image (AFI) Management Tools to /usr/local/bin AWS FPGA: Installing shared library to /usr/local/lib libfpga_mgmt.so.1 (libc6,x86-64) => /usr/local/lib/libfpga_mgmt.so.1 AWS FPGA: Done with Amazon FPGA Image (AFI) Management Tools install. Done with SDK install. INFO: sdk_setup.sh PASSED
Moreover, the lsmod | grep edma is not showing anything. It means I have to follow the next steps. Am I right?
@taog2018 When I follow the next steps, I get the following error:
ubuntu@ip-172-31-69-50:~/aws-fpga/sdk/linux_kernel_drivers/edma$ echo 'edma' | sudo tee --append /etc/modules-load.d/edma.conf tee: /etc/modules-load.d/edma.conf: No such file or directory edma
@taog2018 When I follow the next steps, I get the following error:
ubuntu@ip-172-31-69-50:~/aws-fpga/sdk/linux_kernel_drivers/edma$ echo 'edma' | sudo tee --append /etc/modules-load.d/edma.conf tee: /etc/modules-load.d/edma.conf: No such file or directory edma
Yes, you can create this path /etc/modules-load.d
Dear @taog2018 ,
Thank you for your help. I was able to successfully do "make" and "make install". The VP is up now.
Thank you very much again.
I am following steps of 3.4.2 Setup AWS SDK and edma driver of the below link:
http://nvdla.org/vp_fpga.html
I get the below error:
[centos@ip-172-31-68-107 edma]$ sudo modprobe edma-drv modprobe: ERROR: could not insert 'edma_drv': Exec format error
If I run the below command, the error goes away:
sudo rmmod xocl
Is the above command the right thing to do? Anybody can help me?
Thank you.