한시간 날렸다....
그래서 기록한다
다른 사람들은 이런 문제를 겪지 않기를!!
https://developer.nvidia.com/cuda-80-ga2-download-archive
CUDA Toolkit 8.0 - Feb 2017
Select Target Platform Click on the green buttons that describe your target platform. Only supported platforms will be shown. Operating System Architecture Distribution Version Installer Type Do you want to cross-compile? Yes No Select Host Platform Click
developer.nvidia.com
여기서 cuda toolkit 8.0을 다운받았다.
그리고 sudo bash cuda_8.0.61_375.26_linux.run 으로 실행시켰다.
그러니 뜨는 오류
using unsupported compiler
이거의 해결방법은 간단하다.
sudo bash cuda_8.0.61_375.26_linux.run --override
로 해결할 수 있다.
그러나 이후에도 설치가 안됐는데 로그파일을 살펴보니
InstallUtils.pm이 없다는 오류가 있었다.
해결법을 찾아서 구글링하던 도중
https://devtalk.nvidia.com/default/topic/983777/can-t-locate-installutils-pm-in-inc/
여기에서 해답을 찾았다.
결론만 말하자면
sudo sh ./cuda-l*.run --tar mxvf
을 하여 run파일의 압축을 푼 후
sudo cp InstallUtils.pm /usr/lib/x86_64-linux-gnu/perl-base/
로 파일을 복사한 후
export $PERL5LIB
로 export를 잡아준 후
sudo bash cuda_8.0.61_375.26_linux.run --override
명령어로 설치를 진행하면 잘 된다.
'컴퓨터 > Deeplearning' 카테고리의 다른 글
tensorflow 2.0 LSTM 예제 (0) | 2019.12.02 |
---|---|
4가지 감정(기쁨, 슬픔, 화남, 중립)으로 분류하는 모델 (0) | 2019.11.29 |
TensorFlow-gpu를 설치해봅시다(pycharm) (0) | 2019.03.24 |