Dnia 2013-07-23, wto o godzinie 16:13 -0400, Matthew Dornfeld pisze:
> I'm having trouble installing pycuda. When I try to configure, I get
> an error that says nvcc not found. Here's my siteconf.py
> http://pastebin.com/Qv1CXct1. Originally, /usr/lib was /usr/lib64, but
> that doesn't exist. So I changed it. If I try to run make, it exits
> with error /usr/bin/ld: cannot find -lcuda. luda.so is
> in /usr/lib/nvidia, but it can't seem to find it. My PATH is 
> 
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/cuda-5.0/bin:/usr/local/cuda/bin
> 
> and LD_LIBRARY_PATH is
> 
> /usr/local/cuda-5.0/lib64:/lib:/usr/lib:/usr/lib/nvidia

So...
Where is your CUDA SDK installed - in /usr/local/cuda
or /usr/local/cuda-5.0?
siteconf.py thins the former, ldconfig and PATH - the latter.
You need to fix it.

Also, I have not understood what's with /usr/lib vs /usr/lib64.
You need to point PyCUDA to CUDA SDK directory - /usr/local/cuda*
(the same as in above paragraph).

Regards.

-- 
Tomasz Rybak  GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860
http://member.acm.org/~tomaszrybak

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to