<#part sign=pgpmime>
On Mon, 12 Mar 2012 14:31:46 -0600, Srinath Vadlamani 
<srinath.vadlam...@gmail.com> wrote:
> I'm new to implementing PyCuda on:
> "Darwin proton.txcorp.com 10.8.0 Darwin Kernel Version 10.8.0"
> 
> I am working through the introduction:
> http://documen.tician.de/pycuda/tutorial.html
> 
> and have an error when
> n [5]: import pycuda.autoinit
> ---------------------------------------------------------------------------
> RuntimeError                              Traceback (most recent call last)
> /Users/srinath/<ipython-input-5-bc2732cb0242> in <module>()
> ----> 1 import pycuda.autoinit
> 
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pycuda-2011.2.2-py2.7-macosx-10.6-x86_64.egg/pycuda/autoinit.py
> in <module>()
>       6 from pycuda.tools import make_default_context
>       7 global context
> ----> 8 context = make_default_context()
>       9 device = context.get_device()
>      10
> 
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pycuda-2011.2.2-py2.7-macosx-10.6-x86_64.egg/pycuda/tools.pyc
> in make_default_context(ctx_maker)
>     202
>     203         raise RuntimeError("make_default_context() wasn't able to
> create a context "
> --> 204                 "on any of the %d detected devices" % ndevices)
>     205
>     206 # }}}
> 
> 
> RuntimeError: make_default_context() wasn't able to create a context on any
> of the 1 detected devices

See if you can run 'conventional' CUDA programs. If not, the issue is
with your setup.

Andreas

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to