ubuntu 16 에서는 cuda 10.1 설치 후 빌드해야함
에러--
../cudamatrix/kaldi-cudamatrix.a(cu-device.o): In function `kaldi::CuDevice::Initialize()':
/home/stt/kaldi/src/cudamatrix/cu-device.cc:124: undefined reference to `cublasSetMathMode'
../cudamatrix/kaldi-cudamatrix.a(cu-device.o): In function `kaldi::CuDevice::FinalizeActiveGpu()':
/home/stt/kaldi/src/cudamatrix/cu-device.cc:284: undefined reference to `cublasSetMathMode'
collect2: error: ld returned 1 exit status
------>>
sudo cp /usr/lib/x86_64-linux-gnu/libcublas.so.10.1.0.105 /usr/local/cuda-10.1/lib64/
sudo ln -s /usr/local/cuda-10.1/lib64/libcublas.so.10.1.0.105 /usr/local/cuda-10.1/lib64/libcublas.so.10.1
sudo ln -s /usr/local/cuda-10.1/lib64/libcublas.so.10.1 /usr/local/cuda-10.1/lib64/libcublas.so
sudo ln -s /usr/local/cuda-10.1/targets/x86_64-linux/lib/libcusolver.so.10 /usr/local/cuda-10.1/lib64/libcusolver.so.10.1
sudo ln -s /usr/local/cuda-10.1/targets/x86_64-linux/lib/libcurand.so.10 /usr/local/cuda-10.1/lib64/libcurand.so.10.1
sudo ln -s /usr/local/cuda-10.1/targets/x86_64-linux/lib/libcufft.so.10 /usr/local/cuda-10.1/lib64/libcufft.so.10.1
[참고내용]
https://github.com/tensorflow/tensorflow/issues/26150
'MachineLearning > STT' 카테고리의 다른 글
I have a problem when training the tdnn."ERROR (nnet3-chain-train[5.4]:SelectGpuId():cu-device.cc:160) Failed to create CUDA context, no more unused GPUs?" (0) | 2020.01.13 |
---|---|
CUDA 설치 후 환경변수 설정하기 (linux) (0) | 2020.01.06 |
Mac에 CUDA 설치하기 (0) | 2020.01.01 |
Ubuntu16.04 에서 kaldi 설치하기 / how to install kaldi on ubuntu 16.04 (0) | 2019.12.29 |
Mac OS install mkl_맥에서 MKL 설치하기 (0) | 2019.12.22 |