MATLAB GPU coder for jetson

조회 수: 2 (최근 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/"

카테고리

Help CenterFile Exchange에서 Code Generation, GPU, and Third-Party Support에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by