JetsonHacks

Developing on NVIDIA® Jetson™ for AI on the Edge

NVIDIA Jetson TK1 – Install CUDA 6.5 – [L4T 21.1]

Install CUDA 6.5 on a freshly flashed Linux for Tegra (L4T) 21.1. Also, the samples from the CUDA package are built, and a few of the graphics demos are shown. Before starting your own install, you should be familiar with NVIDIA CUDA Getting Started Guide for Linux

Looky here:

Here’s the important bits:

First, you have to have L4T 21.1 installed on your Jetson, earlier releases do not work. This means that you have to flash your Jetson with that release. See Jetson TK1 Linux for Tegra (L4T) 21.1 Install for directions on how to do that.

Second, if you want to build samples you probably do not want to be a super user as shown in the video specifying ‘ ~/ ‘ as the directory where you unpack. The issue is that this is actually /root/ and you will not be able to access this as a normal user. Instead, you should simply open up a new terminal and unpack the samples there. However, if you run the provided script with sudo, i.e.

$ sudo ./installCUDA65.sh

you should be fine.

Third, here’s the scripts:

installCUDA65.sh

maxCPU.sh

I’ve noticed that when using the Jetson as a desktop environment, the desktop is much more stable after running the maxCPU.sh script which enables full performance from the CPU. This is especially true when downloading large files and compiling large projects. I’ve included it here for easy access.

If you save the above example shell files, make sure that you change the file permissions to ‘Allow executing file as program’. You can do this by right clicking on the file and navigating using Properties->Permissions and then checking the ‘Allow executing file as program’. Close the dialog.

Making the samples is optional, of course. By default, the script does not build the samples. You may edit installCUDA65.sh to uncomment the appropriate lines in Build Samples and make them all. You will probably want to place the samples into another directory other than ~/, but I will leave that to you.

Enjoy!

Facebook
Twitter
LinkedIn
Reddit
Email
Print

One Response

Leave a Reply

Your email address will not be published. Required fields are marked *

Disclaimer

Some links here are affiliate links. If you purchase through these links I will receive a small commission at no additional cost to you. As an Amazon Associate, I earn from qualifying purchases.

Books, Ideas & Other Curiosities