LoginSignup
1
1

More than 3 years have passed since last update.

Couldn't open CUDA library libcupti.so.9.0

Last updated at Posted at 2021-01-23

現象

普段, cudaを使って深層学習をしているのですが, GPUをRTX3080に変更して, cudaのバージョンを変更した際に, 当たった壁について記録.

プログラムをtensorflowを使って書いていました. そして, GPUを使って, CNNの学習を回そうとした際に次のエラーが.

Couldn't open CUDA library libcupti.so.9.0

原因

LD_LIBRARY_PATHの先に, libcupti.so.9.0のファイルが無かったためだった.

解決策

LD_LIBRARY_PATHのパスの指定先を, ファイルのある場所にする.

export LD_LIBRARY_PATH=ファイルのある場所

でパスを指定する. 大体, usr/local/cuda のあたりにある感覚. (感覚ですみません)

export -p

で, パスの指定先を確認できる.

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1