On Sun, 5 Jun 2011 20:35:04 +0200, Bogdan Opanchuk <manti...@gmail.com> wrote:
> Hello Andreas,
> 
> On Sun, Jun 5, 2011 at 5:43 PM, Andreas Kloeckner
> <li...@informa.tiker.net> wrote:
> >> > If worst comes to worst, we'll just shove the _curand wrappers back into
> >> > the main PyCUDA wrapper binary.
> >
> > I've done just that, for lack of better ideas.
> >
> > Scott, Bogdan--can you check whether this works for you?
> 
> Not really...
> 
> >>> import pycuda.autoinit
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File 
> "/Library/Python/2.6/site-packages/pycuda-2011.1-py2.6-macosx-10.6-i386.egg/pycuda/autoinit.py",
> line 1, in <module>
>     import pycuda.driver as cuda
>   File 
> "/Library/Python/2.6/site-packages/pycuda-2011.1-py2.6-macosx-10.6-i386.egg/pycuda/driver.py",
> line 2, in <module>
>     from pycuda._driver import *
> ImportError: 
> dlopen(/Library/Python/2.6/site-packages/pycuda-2011.1-py2.6-macosx-10.6-i386.egg/pycuda/_driver.so,
> 2): Library not loaded: @rpath/libcurand.dylib
>   Referenced from:
> /Library/Python/2.6/site-packages/pycuda-2011.1-py2.6-macosx-10.6-i386.egg/pycuda/_driver.so
>   Reason: image not found
> 
> CUDADRV_LIB_DIR = ['/usr/local/cuda/lib'] in siteconf.py, and
> libcurand.dylib is there.

This looks like Mac fail. Help, Mac geniuses? :)

Also, the linking process seems to have baked some "@rpath" thing into
the executable. Not sure where we're asking it to do that.

Andreas

Attachment: pgpJNOSOK88BV.pgp
Description: PGP signature

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

Reply via email to