Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#54710 - [python-pyopencl] Is not imported
Attached to Project:
Community Packages
Opened by Simon (Giggi) - Wednesday, 05 July 2017, 20:08 GMT
Last edited by Jelle van der Waa (jelly) - Monday, 28 August 2017, 18:10 GMT
Opened by Simon (Giggi) - Wednesday, 05 July 2017, 20:08 GMT
Last edited by Jelle van der Waa (jelly) - Monday, 28 August 2017, 18:10 GMT
|
DetailsIf I try to import pyopencl it returns this error:
import pyopencl as cl --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-72-f1779268ba42> in <module>() ----> 1 import pyopencl as cl /usr/lib/python3.6/site-packages/pyopencl/__init__.py in <module>() 32 33 try: ---> 34 import pyopencl.cffi_cl as _cl 35 except ImportError: 36 import os /usr/lib/python3.6/site-packages/pyopencl/cffi_cl.py in <module>() 38 from pytools import memoize_method 39 ---> 40 from pyopencl._cffi import ffi as _ffi 41 from .compyte.array import f_contiguous_strides, c_contiguous_strides 42 ImportError: /usr/lib/python3.6/site-packages/pyopencl/_cffi.abi3.so: symbol clSetKernelArgSVMPointer, version OPENCL_2.0 not defined in file libOpenCL.so.1 with link time reference I've the same problem on two different installation! |
This task depends upon
Closed by Jelle van der Waa (jelly)
Monday, 28 August 2017, 18:10 GMT
Reason for closing: Fixed
Additional comments about closing: Moved to OpenCL 1.2
Monday, 28 August 2017, 18:10 GMT
Reason for closing: Fixed
Additional comments about closing: Moved to OpenCL 1.2
The problem is persisting ...
pacman -Q | grep opencl
opencl-headers 2:2.2.20170516-1
opencl-nvidia 381.22-1
pyopencl-headers 1:2017.2-1
python-pyopencl 1:2017.2-1
python2-pyopencl 1:2017.2-1
pacman -Qo /usr/lib/python3.6/site-packages/pyopencl/_cffi.abi3.so
Although this might be an nvidia specific issue, I'll have to find some time to boot my nvidia blob machine.
/usr/lib/python3.6/site-packages/pyopencl/_cffi.abi3.so รจ contenuto in python-pyopencl 1:2017.2-1
But it's seems that my card (GeForce GTX 560 OEM) does not support OpenCL 2
And the other PC mount a Quadro K2000.
(Observe that opencl 2 in the nvidia driver is experimental)
http://us.download.nvidia.com/Windows/382.33/382.33-win10-win8-win7-desktop-release-notes.pdf
I've tested opencl with a C demo, and it works fine.
So the problem is related with pyopencl (and nvidia).
I've tested opencl with a C demo, and it works fine.
So the problem is related with pyopencl (and nvidia).
...
python3 ./configure.py --cl-enable-gl --python-exe=python3 --cl-pretend-version=1.2
...