FS#47605 - [python2-pycuda] Error after update to 2015.1.3-6
Attached to Project:
Community Packages
Opened by Robert Zimmermann (aSoaked) - Sunday, 03 January 2016, 14:03 GMT
Last edited by Morten Linderud (Foxboron) - Saturday, 06 June 2020, 14:42 GMT
Opened by Robert Zimmermann (aSoaked) - Sunday, 03 January 2016, 14:03 GMT
Last edited by Morten Linderud (Foxboron) - Saturday, 06 June 2020, 14:42 GMT
|
Details
Description:
After updating to pycuda 2015.1.3-6 and boost-libs 1.60 following error occurs: Traceback (most recent call last): File "test.py", line 1, in <module> import pycuda.autoinit File "/usr/lib/python2.7/site-packages/pycuda/autoinit.py", line 9, in <module> context = make_default_context() File "/usr/lib/python2.7/site-packages/pycuda/tools.py", line 199, in make_default_context return ctx_maker(dev) File "/usr/lib/python2.7/site-packages/pycuda/tools.py", line 162, in ctx_maker return dev.make_context() TypeError: No to_python (by-value) converter found for C++ type: boost::shared_ptr<pycuda::context> ------------------------------------------------------------------- PyCUDA ERROR: The context stack was not empty upon module cleanup. ------------------------------------------------------------------- A context was still active when the context stack was being cleaned up. At this point in our execution, CUDA may already have been deinitialized, so there is no way we can finish cleanly. The program will be aborted now. Use Context.pop() to avoid this problem. ------------------------------------------------------------------- Abgebrochen (Speicherabzug geschrieben) test.py contains only: import pycuda.autoinit Downgrading to previous pycuda version and to boost-libs 1.59 resolves this. Additional info: python2-pycuda 2015.1.3-6 boost-libs 1.60.0-1 Steps to reproduce: update to newest version of boost-libs and pycuda |
This task depends upon
Closed by Morten Linderud (Foxboron)
Saturday, 06 June 2020, 14:42 GMT
Reason for closing: Not a bug
Additional comments about closing: Package has been removed
Saturday, 06 June 2020, 14:42 GMT
Reason for closing: Not a bug
Additional comments about closing: Package has been removed
Here is a relevant discussion with the package author, if it can help: http://blog.gmane.org/gmane.comp.python.cuda/month=20160101
EDIT: Note that there is the same problem with python-pycuda.
pip install pycuda works