Sean Breckling <[email protected]> writes:

> OS: Ubuntu 14.04
> Cuda: 7.5
> Python: 2.7
>
>
> When I run ./configure.py the siteconf.py file produces:
>
> BOOST_INC_DIR = []
> BOOST_LIB_DIR = []
> BOOST_COMPILER = 'gcc43'
> USE_SHIPPED_BOOST = True
> BOOST_PYTHON_LIBNAME = ['boost_python-py27']
> BOOST_THREAD_LIBNAME = ['boost_thread']
> CUDA_TRACE = False
> CUDA_ROOT = '/usr/local/cuda-7.5'
> CUDA_ENABLE_GL = False
> CUDA_ENABLE_CURAND = True
> CUDADRV_LIB_DIR = ['${CUDA_ROOT}/lib', '${CUDA_ROOT}/lib64',
> '${CUDA_ROOT}/lib/stubs', '${CUDA_ROOT}/lib64/stubs']
> CUDADRV_LIBNAME = ['cuda']
> CUDART_LIB_DIR = ['${CUDA_ROOT}/lib', '${CUDA_ROOT}/lib64',
> '${CUDA_ROOT}/lib/stubs', '${CUDA_ROOT}/lib64/stubs']
> CUDART_LIBNAME = ['cudart']
> CURAND_LIB_DIR = ['${CUDA_ROOT}/lib', '${CUDA_ROOT}/lib64',
> '${CUDA_ROOT}/lib/stubs', '${CUDA_ROOT}/lib64/stubs']
> CURAND_LIBNAME = ['curand']
> CXXFLAGS = []
> LDFLAGS = []
>
> When I run "make" I get the complaint:
>
> ***************************************************************
> *** WARNING: nvcc not in path.
> *** May need to set CUDA_INC_DIR for installation to succeed.
> ***************************************************************
>
> When I run $echo CUDA_INC_DIR I see:
>
> /usr/local/cuda-7.5/bin
>
> When I run $locate nvcc I see (lots of stuff, but it includes):
> /usr/local/cuda-7.5/bin/nvcc
>
> ----
>
> If I run "sudo make install" the egg installs without any further
> complaints (That I can see) however, when I try to run a test script I see:
>
> ImportError: libcurand.so.7.5: cannot open shared object file: No such file
> or directory
>
> --When I run: $locate libcurand.so.7.5 I see:
> /usr/local/cuda-7.5/targets/x86_64-linux/lib/libcurand.so.7.5
> /usr/local/cuda-7.5/targets/x86_64-linux/lib/libcurand.so.7.5.18


Add

/usr/local/cuda-7.5/targets/x86_64-linux/lib/l

to your LD_LIBRARY_PATH, and add

/usr/local/cuda-7.5/bin

to your path.

HTH,
Andreas

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

Reply via email to