<div dir="ltr"><div><div><div>Hi Alberto<br><br></div>I have tested the attached patch and it "works for me".<br><br></div>After building the driver with this patch locally and installing it, I was able to install ocl-icd-libopencl1 and python-pyopencl and run the examples from the pyopencl source package.  I was also able to build the pyopencl source package locally without any changes.<br>
<br></div>Regards<br>Graham<br><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 29 August 2013 10:42, Graham Inggs <span dir="ltr"><<a href="mailto:graham.inggs@gmail.com" target="_blank">graham.inggs@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Alberto<br><br><div class="gmail_extra">Thanks for making the changes to the Nvidia drivers.  My syncs and merges for LP: #1129409 have been uploaded as well.<br>
<br></div><div class="gmail_extra">The issue in LP: #1174205 wasn't the search order of /etc/ld.so.conf.d/*.conf, we shouldn't have allowed ocl-icd-libopencl1 and Nvidia's libopencl1 to be installed together.<br>

<br>This has been fixed to a certain extent in the current Nvidia drivers in
 Saucy as the Nvidia drivers now provides and conflicts on libopencl1. 
However, since the Nvidia driver includes libopencl1 and opencl-icd in 
one package, ocl-icd-libopencl, which pyopencl is built against, is not 
installable.<br></div><div class="gmail_extra">Also, since pyopencl is built against ocl-icd-libopencl which is OpenCL 1.2, it cannot run on Nvidia's libopencl1 which is OpenCL 1.1.<br></div><div class="gmail_extra">

<br></div><div class="gmail_extra">One solution is to separate libopencl1 out of the Nvidia and AMD drivers, however, since the open-source ocl-icd-libopencl1 is able to load all of the available ICDs, could we simply remove libOpenCL.so from the Nvidia and AMD drivers and no longer provide libopencl1?<br>

</div><div class="gmail_extra">We must keep the Nvidia and AMD ICDs and continue to provide opencl-icd though.<br><br></div><div class="gmail_extra">Regards<span class="HOEnZb"><font color="#888888"><br>Graham<br></font></span></div>
<div class="gmail_extra"><br></div></div>
</blockquote></div><br></div>