Andreas, I've added those paths, and also added:
/usr/local/cuda-7.5/targets/x86_64-linux/lib to LD_LIBRARY_PATH (in case that extra /l was a typo). The outcome hasn't changed. ImportError: libcurand.so.7.5: cannot open shared object file: No such file or directory Thanks! On Wed, Jan 20, 2016 at 8:18 AM, Andreas Kloeckner <li...@informa.tiker.net> wrote: > Sean Breckling <sean.breckl...@gmail.com> 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 > -- Sean Breckling Graduate Assistant, Department of Mathematics University of Nevada - Las Vegas CDC 704
_______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda