nitishsrivastava / deepnet

Implementation of some deep learning algorithms.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error 127 while 'sudo make' cudamat

TianCuan opened this issue · comments

i met 'Error 127' while running make in cudamat dir. The command i type is 'sudo make'. and get this result:

nvcc -O3
-v
-gencode=arch=compute_10,code=sm_10
-gencode=arch=compute_20,code=sm_20
-gencode=arch=compute_30,code=sm_30
--compiler-options '-fPIC' -o libcudamat.so
--shared cudamat.cu cudamat_kernels.cu -lcublas -L
make: nvcc: Command not found
Makefile:5: recipe for target 'libcudamat.so' failed
make: *** [libcudamat.so] Error 127

why this happened? how can i solve it?
thank you~

Delete the row:-gencode=arch=compute_10,code=sm_10
May help.

I have the same trouble as you, but delete the row is not resloved. Can you help me? Thank you!