Hey Andreas, 0.93.1rc1 seems to works for me, except that I had to download a > distribute_setup.py file. Could you include that file in the source > tarball ? I think this is the usual way to work with Distribute, since > the documentation say : > > "To use Distribute in your package, the recommended way is to ship > `distribute_setup.py` alongside your `setup.py` script and call it at > the very begining of `setup.py`" >
I got the same issue (distribute_setup.py not included). I ran the examples/demo.py with success, but the transpose demo > crashed. I assume this is not related to the use of Distribute, but > here is the trace : > > File "transpose.py", line 205, in <module> > run_benchmark() > File "transpose.py", line 165, in run_benchmark > target = gpuarray.empty((size, size), dtype=source.dtype) > File "/usr/lib/python2.6/site-packages/pycuda/gpuarray.py", line 81, > in __init__ > self.gpudata = self.allocator(self.size * self.dtype.itemsize) > pycuda._driver.MemoryError: cuMemAlloc failed: out of memory > Same error on my mac (8600GT) but this is normal. All the tests passed though. Thanks for your efforts Andreas! Best, N > > > > 2009/10/15, Andreas Klöckner <[email protected]>: > > On Donnerstag 15 Oktober 2009, Andreas Klöckner wrote: > >> Hi all, > >> > >> > -------------------------------------------------------------------------- > >> This is relevant to you if you are using Python 2.6.3 and you are > getting > >> errors of the sort: > >> > >> "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9- > >> py2.6.egg/setuptools/command/build_ext.py", > >> line 85, in get_ext_filename > >> KeyError: '_cl' > >> > -------------------------------------------------------------------------- > > > > A quick addition: If you are already encountering this error, you need to > > *remove* setuptools before the fix will work for you. > > > > That means that if you do "import setuptools" on the Python shell and it > > succeeds, type "setuptools.__file__" to see where it is installed and get > > rid > > of it, then start over. (After the fix has worked, it will say somehting > > with > > "distribute" in the path for the setuptools.__file__. That's fine.) > > > > Andreas > > > > _______________________________________________ > PyCUDA mailing list > [email protected] > http://tiker.net/mailman/listinfo/pycuda_tiker.net > -- Nicolas Pinto Ph.D. Candidate, Brain & Computer Sciences Massachusetts Institute of Technology, USA http://web.mit.edu/pinto
_______________________________________________ PyCUDA mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
