Matthew Dornfeld <[email protected]> writes:

> 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

This should do the trick:       

    USE_SHIPPED_BOOST = True
    CUDA_ENABLE_GL = False
    CUDA_ENABLE_CURAND = False
    CUDADRV_LIB_DIR = ['/usr/lib/nvidia']
    CUDADRV_LIBNAME = ['cuda']
    CUDA_INC_DIR = ['/usr/include'] # or wherever

Andreas

Attachment: pgpKisE31jbhs.pgp
Description: PGP signature

_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to