Public bug reported:

Goal: install python-pyopencl  on Ubuntu 13.10 using the AMD APP SDK 2.9 drivers
http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/
 for CPU emulation on a system with an Intel integrated  video card not 
supported by Intel's drivers. 

Steps:
Download and install AMD APP SDK 2.9 
Install the  ocl-icd-opencl-dev. 
Reboot the machine then install python-pyopencl. 

Result:
py-opencl works, but on on reboot I cannot log into Unity due to openGL issues 
with compiz. 

Cause:
python-pyopencl depends on opencl-icd. 
In my repositories this is only provided by various nvidia-319-updates packages 
and beignet. 
The nvidia packages are selected by apt and install but conflict with, and 
remove ocl-icd-opencl-dev. 
I do not have nvidia hardware. 

Fix: 
I can install beignet which provides opencl-icd and then install 
python-pyopencl and use it with ocl-icd-opencl-dev (ignoring beignet as a 
platform).

Suggestion:
I am unfamiliar with the technical details of icds but:
Should/could  ocl-icd-opencl-dev also provide  opencl-icd? 
Should/could python-pyopencl depend on either ocl-icd-opencl-dev or opencl-icd? 
Should apt detect that I dont have Nvidia hardware and install an AMD or Intel 
driver (beignet) instead?

** Affects: pyopencl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1264844

Title:
  Pyopencl dependence on opencl-icd (and the lack of providing packages)
  makes it tricky to install

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyopencl/+bug/1264844/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to