UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor linuskerk
Visitor
1,220 Views
Registered: ‎10-01-2017

OpenCL Installable Client Driver Loader

Jump to solution

Hi,

 

There are 2 questions in this post, somewhat related.

 

Question 1:

I was trying to get my AWS F1 environment to work on my local Centos machine.

 

I encountered the following...

 

AWS FPGA-SDK-INFO: /etc/OpenCL/vendors/xilinx.icd does not exist or does not contain lbixilinxopencl.so creating and adding libxilinxopencl.so to it
sh: /etc/OpenCL/vendors/xilinx.icd: No such file or directory

 

Where can I find lbixilinxopencl.so?

 

 

Question 2:

 

I suspect it has to do with my installation of SDx environment.

 

I followed the following document.

 

https://www.xilinx.com/html_docs/xilinx2017_2/sdaccel_doc/topics/platform-mem-model/con-opencl-icd-loader.html

 

Following the steps to install SDx environment for Centos7 I have a question about step 2.

 

2. Install the OpenCL SDK RPMs.

linux> rpm -i /proj/picasso/centos/OpenCL-RPMS/*.rpm

 

I suspect I have a missing RPM. What RPMs is Step 2 referring to?

 

 

Linus

 

 

 

 

 

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
1,660 Views
Registered: ‎09-08-2011

Re: OpenCL Installable Client Driver Loader

Jump to solution
Hi Linus, Question 1: I have not seen that particular error for AWS yet, but you should be able to locate the libxilinxopencl.so either after running xbinst, or going to to /runtime/lib/x86_64/lib/ Question 2: I am only aware of: opencl-1.2-base-4.4.0.117-1.x86_64.rpm. Do you get an error message while trying to run the RPM install in step 2? Could you provide that message? Thanks,
If at first you don't succeed, try redefining success?

View solution in original post

0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
1,661 Views
Registered: ‎09-08-2011

Re: OpenCL Installable Client Driver Loader

Jump to solution
Hi Linus, Question 1: I have not seen that particular error for AWS yet, but you should be able to locate the libxilinxopencl.so either after running xbinst, or going to to /runtime/lib/x86_64/lib/ Question 2: I am only aware of: opencl-1.2-base-4.4.0.117-1.x86_64.rpm. Do you get an error message while trying to run the RPM install in step 2? Could you provide that message? Thanks,
If at first you don't succeed, try redefining success?

View solution in original post

0 Kudos
Visitor linuskerk
Visitor
1,113 Views
Registered: ‎10-01-2017

Re: OpenCL Installable Client Driver Loader

Jump to solution

Hi,

 

I actually found the file at  /runtime/lib/x86_64/lib/ as you suggested.

 

It turns out for some reason sudo didn't work when trying to create /etc/OpenCL/vendors/xilinx.icd

I had to be superuser to do that.

 

The 2nd question is not relevant anymore.

 

Thanks.

 

Linus

0 Kudos