embeded/jetson
jetson nvcc 실행하기
구차니
2026. 4. 6. 19:41
그냥 해보니 없는데 경로 따라가니 있다. 오호
| jetson@nano-4gb-jp451:~$ nvcc -bash: nvcc: command not found jetson@nano-4gb-jp451:~$ /usr/local/cuda-10.2/bin/nvcc nvcc fatal : No input files specified; use option --help for more information |
cuda로 심볼릭 링크되어있으니 이걸로 하면 편할듯
| /usr/local$ ls -al total 48 drwxr-xr-x 12 root root 4096 May 26 2021 . drwxr-xr-x 12 root root 4096 Feb 19 2021 .. drwxr-xr-x 3 root root 4096 Mar 30 07:22 bin lrwxrwxrwx 1 root root 9 Feb 19 2021 cuda -> cuda-10.2 drwxr-xr-x 12 root root 4096 Feb 19 2021 cuda-10.2 drwxr-xr-x 3 root root 4096 May 26 2021 etc drwxr-xr-x 2 root root 4096 Apr 26 2018 games drwxr-xr-x 2 root root 4096 Apr 26 2018 include drwxr-xr-x 2 root root 4096 May 26 2021 jetson_stats drwxr-xr-x 4 root root 4096 Jun 4 2018 lib lrwxrwxrwx 1 root root 9 Apr 26 2018 man -> share/man drwxr-xr-x 2 root root 4096 Apr 26 2018 sbin drwxr-xr-x 11 root root 4096 May 26 2021 share drwxr-xr-x 2 root root 4096 Apr 26 2018 src |
| $ tail -2 ~/.bashrc export PATH=/usr/local/cuda/bin${PATH:+:${PATH}}$ export LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} |