Nvcc Error 127
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have nvcc command not found ubuntu Meta Discuss the workings and policies of this site About Us Learn
-bash: Nvcc: Command Not Found Mac
more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us
How To Install Nvcc
Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a
/bin/sh: 1: Nvcc: Not Found
minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top nvcc not found, but only when using sudo up vote 1 down vote favorite I can't get ANYTHING working on linux. I'm trying to compile CudaMiner. sudo make: ypt-jane.o `test -f 'scrypt-jane.cpp' unable to execute 'nvcc': no such file or directory || echo './'`scrypt-jane.cpp mv -f .deps/cudaminer-scrypt-jane.Tpo .deps/cudaminer-scrypt-jane.Po nvcc -g -O2 -Xptxas "-abi=no -v" -arch=compute_10 --maxrregcount=64 --ptxas-options=-v -I./compat/jansson -o salsa_kernel.o -c salsa_kernel.cu /bin/bash: nvcc: command not found make[2]: *** [salsa_kernel.o] Error 127 make[2]: Leaving directory `/var/progs/CudaMiner' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/progs/CudaMiner' make: *** [all] Error 2 So, kind of interesting: nvcc: nvcc fatal : No input files specified; use option --help for more information Whereas sudo nvcc: sudo: nvcc: command not found Huh?? I have identical exports listed in ~/.bashrc AND /etc/bash.bashrc. (Nvcc is located in: /usr/local/cuda-5.0/bin/nvcc) I also tried changing the current path, to no avail: $ sudo bash -c 'echo $PATH' /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin $ PATH=$PATH:/usr/local/cuda-5.0/bin/nvcc $ sudo bash -c 'echo $PATH' /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin Thanks in advance! nvidia bash sudo bashrc cuda share|improve this question edited Mar 2 '14 at 6:30 asked Mar 2 '14 at 5:58 dsp_099 491210 add a comment| 3 Answers 3 active oldest votes up vote 3 down vote accepted So apparently, nvcc is not on the PATH when you run it with sudo. You can conf
GoogleВойтиСкрытые поляПоиск групп или сообщений
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get https://ubuntuforums.org/showthread.php?t=757392 UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The not found Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] nVidia CUDA SDK make error, nvcc command not found Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 2 of command not found 2 Thread: [SOLVED] nVidia CUDA SDK make error, nvcc command not found Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode April 17th, 2008 #1 sricketts View Profile View Forum Posts Private Message Just Give Me the Beans! Join Date Jul 2007 Beans 63 [SOLVED] nVidia CUDA SDK make error, nvcc command not found I am following the instructions here for installing CUDA on linux: http://developer.download.nvidia.com...otes_linux.txt I am stuck on step 3, trying to run make in the SDK_INSTALL_PATH. The output is Code: sricketts@XXXX:~/gpu/NVIDIA_CUDA_SDK$ sudo make make[1]: Entering directory `/home/sricketts/gpu/NVIDIA_CUDA_SDK/common' ar: creating ./../lib/libcutil.a a - obj/release/bank_checker.cpp_o a - obj/release/cmd_arg_reader.cpp_o a - obj/release/cutil.cpp_o a - obj/release/stopwatch.cpp_o a - obj/release/stopwatch_linux.cpp_o a - obj/release/multithreading.cpp_o make[1]: Leaving directory `/home/sricketts/gpu/NVIDIA_CUDA_SDK/common' make[1]: Entering directory `/home/sricketts/gpu/NVIDIA_CUDA_SDK/common' a - obj/release/paramgl.cpp_o a - obj/release/param.cpp_o make[1]: Leaving directory `/home/sricketts/gpu/NVIDIA_CUDA_SDK/common' make -C projects/Mandelbrot/ make[1]: Entering directory `/home/sricketts/gpu/NVIDIA_CUDA_SDK/projects/Mandelbrot' make[1]: nvcc: Command not found make[1]: *** [obj/rele