Pyopencl dependence on opencl-icd (and the lack of providing packages) makes it tricky to install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyopencl (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Goal: install python-pyopencl on Ubuntu 13.10 using the AMD APP SDK 2.9 drivers
http://
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?
Status changed to 'Confirmed' because the bug affects multiple users.