I already submitted the query below to the CUDA setup and install section. But I wasn’t getting any reply and I was told that I should re-post in Embedded systems:
I recently bought the Jetson TK1 board and I managed to install CUDA6.5 on it to do native compilation. However, I also want to do cross compilation. To that end, I am trying to do a cross-build installation on my Ubuntu 14.04 x86 64 bit host machine. More precisely, I am trying to perform the cross-build installation on a Ubuntu guest virtualbox I have running on my Windows host.
I would like to add that the GPU on my host machine is not CUDA capable. But I don’t think this matters because I only intend to compile CUDA programs on the host machine, not run them.
The quoted guide URL seems to have a bug in it. I get access denied even though I’m logged in correctly if I directly click on the link. The general URL for CUDA 6.5 is here, providing indirect access to the guide: https://developer.nvidia.com/cuda-toolkit-65
Sadly, the main documentation URL of the 6.5 page is a circular reference back to 7.0 docs, with the main 6.5 docs not available…the 6.5 page documentation link should probably point to the 6.5 docs, not the 7.0 docs (then again, this is a different error than the thread topic).
So the 6.5 guide simply can’t be downloaded without first navigating to the 6.5 CUDA page and clicking the linux tab (then searching for “Linux Getting Started Guide”). The direct link is context-broken (a design pattern derived from “context-sensitive” :). Clicking the guide link from the 6.5 page works, clicking the guide link from elsewhere denies access.
Unfortunately I only have a Fedora x86 host, and cannot test the cuda-repo-ubuntu deb. It’s kind of a wild guess, but it is possible that the GPG signature part has a similar web page access issue and is simply denying the GPG URL during the attempt to install the repo definition package. Regardless of WHY the GPG signature is not working, I would try the dpkg option “–no-debsig”.
For Jetson’s L4T version R19.x, only CUDA 6.0 works. For Jetson’s L4T version R21.x, only CUDA 6.5 works. It has been stated that it is unlikely CUDA 7 will be ported to any 32 bit platform. For that you’ll probably need to wait for Tegra X1.
I’ll drop a note to someone that the GPGKEY is failing. FYI, I cannot get DNS to resolve anything with cuda-repo (http://cuda-repo isn’t even a real domain), so the site has either changed or something is cutting it off.
Sorry, I meant to ask if I could install CUDA 7.0 on my x86 host machine for cross compilation with my Jetson. I am aware that Jetson only supports up to CUDA 6.5.
I see the same GPG error with the cuda-repo package for Ubuntu 14.04. The package seems to be plain broken.
I think as a workaround, you can install the cuda-repo package for 12.04 as that seems to work. Then edit /etc/apt/sources.list.d/cuda.list and change 12.04 to 14.04 and run “apt-get update”.
Is it okay if I just got a Ubuntu 12.04 x86 64 bit machine and just intall CUDA 6.5 onto that? It’s a bit troublesome but that’s probably the most straight-forward solution.
Are you suggesting that because you want 6.5 and with the above you got 7.0?
The repositories seem to provide both. If you do “apt-cache search cuda”, you’ll see a long list of packages, some with version numbers, some without. The packages without version number in the package name typically depend on the latest version.