우분투 12.04의 Cuda 4.2

우분투 12.04의 Cuda 4.2

저는 Linux와 Ubuntu를 처음 사용합니다. Ubuntu 12.04에 Cuda 4.2를 설치하려고 합니다. 나는 여기에 있는 지침을 따르고 있습니다.https://help.ubuntu.com/community/Cuda

이 지침을 사용하여 CUDA를 설치할 수 있는 사람이 있습니까? SDK 컴파일을 시도할 때 오류가 발생합니다. 이것이 내가 얻는 것입니다:

smaragh@ubuntu69:~/NVIDIA_GPU_Computing_SDK/C$ LINKFLAGS=-L/usr/lib/nvidia-current-updates/ make cuda-install=/opt/cuda
make[1]: Entering directory `/home/smaragh/NVIDIA_GPU_Computing_SDK/C/common'
cc1plus: warning: command line option ‘-Wimplicit’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from src/bank_checker.cpp:15:0:
./../common/inc/bank_checker.h:34:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
./../common/inc/bank_checker.h:220:39: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
src/bank_checker.cpp:57:24: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
src/bank_checker.cpp:259:12: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
Assembler messages:
Fatal error: can't create obj/x86_64/release/bank_checker.cpp.o: Permission denied
make[1]: *** [obj/x86_64/release/bank_checker.cpp.o] Error 1
make[1]: Leaving directory `/home/smaragh/NVIDIA_GPU_Computing_SDK/C/common'
make: *** [lib/libcutil.so] Error 2

어떤 도움이라도 대단히 감사하겠습니다. 감사합니다.

답변1

치명적인 오류: obj/x86_64/release/bank_checker.cpp.o를 생성할 수 없습니다: 권한이 거부되었습니다.

루트로 또는 를 사용하여 명령을 실행하려고 했습니까 sudo? 그렇다면 쓸 수 없는 폴더가 생성되었다는 점에 유의하세요. cuda 디렉터리를 삭제하고 처음부터 다시 시작해 보세요.

관련 정보