Fixed in Trusty: pyopencl now depends on a new virtual libopencl-1.2-1,
which forces selection of a libopencl1 it will work with. (opencl-icd
still needs to be chosen manually to match the hardware, but that's bug
1264844)
** Changed in: pyopencl (Ubuntu)
Status: Confirmed => Fix Released
** Changed in: nvidia-graphics-drivers-319 (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to fglrx-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1174205
Title:
Using pyopencl doesn't work and spits our ImportError
Status in “fglrx-installer” package in Ubuntu:
Confirmed
Status in “nvidia-graphics-drivers-319” package in Ubuntu:
Fix Released
Status in “pyopencl” package in Ubuntu:
Fix Released
Bug description:
Pyopencl doesn't work on raging, the following error message is
generated:
Python 2.7.4 (default, Apr 19 2013, 18:32:33)
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyopencl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/pyopencl/__init__.py", line 4, in
<module>
import pyopencl._cl as _cl
ImportError: /usr/lib/python2.7/dist-packages/pyopencl/_cl.so: symbol
clRetainDevice, version OPENCL_1.2 not defined in file libOpenCL.so.1 with link
time reference
I am using the following drivers:
adrian@toad:~$ dpkg -l | grep nvidia
ii nvidia-304-updates 304.88-0ubuntu2
i386 NVIDIA binary Xorg driver, kernel module and VDPAU
library
ii nvidia-cg-dev:i386 3.1.0013-1
i386 Cg Toolkit - GPU Shader Authoring Language (headers)
ii nvidia-cg-toolkit 3.1.0013-1
i386 Cg Toolkit - GPU Shader Authoring Language
ii nvidia-common 1:0.2.76
i386 transitional package for ubuntu-drivers-common
ii nvidia-settings-304-updates 304.88-0ubuntu1
i386 Tool for configuring the NVIDIA graphics driver
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: python-pyopencl 2012.1-1ubuntu4
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
Uname: Linux 3.8.0-19-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu8
Architecture: i386
Date: Mon Apr 29 09:56:38 2013
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_ZA.UTF-8
SHELL=/bin/bash
SourcePackage: pyopencl
UpgradeStatus: Upgraded to raring on 2013-04-27 (1 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1174205/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp