Open GoogleCodeExporter opened 9 years ago
Solved. Problem not related with CUDAMat, but with CUDA installation. I hadn't
properly set up the paths required by CUDA. Once they are rightly added into
.bashrc, problem solved.
Original comment by Xavier.A...@gmail.com
on 30 Nov 2012 at 7:47
Hi, Xavier:
I met the same problem with you. But I can run CUDA test programs correctly. But I don't know what I should add into the bashrc file. Can you explain that in details? Thanks for your help.
Original comment by Boshen.Z...@gmail.com
on 12 Dec 2012 at 12:56
Hi, Boshen,
Adding below the lines I added to the ~/.bashrc file. There must be more
elegant ways of solving this, but at least this one works fine for me. I keep
the CUDA (and gnumpy) related path lines too, in case someone else struggles
with a similar issue in the future.
PATH=$PATH:/usr/local/cuda-5.0/bin
PATH=$PATH:/home/xavier/src/python/site-packages/cudamat
export PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-5.0/lib64:/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/xavier/src/python/site-packages/cudamat
export LD_LIBRARY_PATH
PYTHONPATH=$PYTHONPATH:/home/xavier/src/python/site-packages/cudamat
PYTHONPATH=$PYTHONPATH:/home/xavier/src/python/site-packages/gnumpy
export PYTHONPATH
Original comment by Xavier.A...@gmail.com
on 12 Dec 2012 at 4:12
Hi, Xavier:
That works. Thank you so much!!
Original comment by Boshen.Z...@gmail.com
on 18 Dec 2012 at 7:04
Thanks Xavier!
Works for me also!
Original comment by gevrapat...@gmail.com
on 9 Dec 2013 at 4:23
Original issue reported on code.google.com by
Xavier.A...@gmail.com
on 30 Nov 2012 at 5:14