MATLAB GPU coder for jetson

3 ビュー (過去 30 日間)
sunho jang
sunho jang 2020 年 9 月 10 日
回答済み: Stepan Voronin 2020 年 12 月 12 日
Unable to find the 'cuBLAS' library. Update the '.bashrc' script on the target to setup the 'LD_LIBRARY_PATH' environment variable.
I don't know where I can find it.
If you look at the vim environment now,
LD_LIBRARY_PATH= "/usr/local/coda/lib64".
Is there a Linux command that can check the cuBLAS file installation?
  1 件のコメント
Irfan Ahmed
Irfan Ahmed 2020 年 10 月 23 日
編集済み: Walter Roberson 2020 年 10 月 23 日
From your home directory open .bashrc file (> vim .bashrc) and add the following bold line:
case $- in
*i*) ;;
*)
export PATH=${PATH}:/usr/local/cuda-10.2/bin
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/cuda-10.2/lib64
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/aarch64-linux-gnu
return;;
esac

サインインしてコメントする。

回答 (1 件)

Stepan Voronin
Stepan Voronin 2020 年 12 月 12 日
dlinano@dlinano-desktop:~$ vi /etc/environment
PATH="/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
LD_LIBRARY_PATH="/usr/lib/aarch64-linux-gnu/stubs/:/usr/local/cuda/lib64/"

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by