Installing Cuda 4.0 RC on Ubuntu 10.10 64-bit
by Carson Reynolds
Here are some rough notes describing my steps to get Cuda 4.0 installed and the SDK samples built on Ubuntu 10.10 (Maverick Meerkat) 64-bit. At present you need an Nvidia developer account and once you’ve signed up for one you can download the Cuda 4.0 RC.
From there you want to get:
- devdriver_4.0_linux_32_270.35.run
- cudatoolkit_4.0.11_linux_64_ubuntu10.10.run
- gpucomputingsdk_4.0.11_linux.run
# turn off X sudo stop gdm # uninstall any previously installed Nvidia drivers sudo apt-get --purge remove nvidia-* # make all the installers executable chmod +x ~/Downloads/*.run # run the driver installer sudo ~/Downloads/devdriver_4.0_linux_64_270.35.run # reboot sudo reboot # install dependencies sudo apt-get install libxi-dev libxmu-dev freeglut3-dev gcc g++ build-essential # install toolkit sudo ~/Downloads/cudatoolkit_4.0.11_linux_64_ubuntu10.10.run # install SDK sudo ~/Downloads/gpucomputingsdk_4.0.11_linux.run # I use /opt/NVIDIA_GPU_Computing_SDK because # I like my home directory uncluttered # Set path variables export PATH=$PATH:/usr/local/cuda/bin # 32-bit would use lib instead of lib64 export LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/lib # You might want to append these to your .bashrc if you use cuda frequently # Make the SDK examples cd /opt/NVIDIA_GPU_Computing_SDK sudo chown [username] . make # Try out an example ./C/bin/linux/release/particles
Hi,
I just stumbled on this post when I was searching about troubleshooting on installing CUDA 4.0 on Ubuntu 10.10.
I’m having trouble after installing CUDA. The resolution went to 640×480 and I can’t replace it with better one (1440×900).
Did you have similar problem?
Thanks.
I am running the dev driver at full resolution. You might look into /var/log/Xorg.0.log to see if there are some messages about what is going wrong.
“32
# You might want to append these to your .bashrc if you use cuda frequently”
Would you tell me exactly how to to it? There are several .bashrc files in my today installed system.
Edit the .bashrc in your home directory. If you don’t know which directory that is try “echo $HOME” from a terminal.
Have you ever try to compile and run the following :
1. bandwidthtest
2. julia_gpu
3. Example of curand, pseudorandom number generator. There are two examples in the curand manual.
I really want to know.
I also repartitioned for CUDA computing when I found your blog.
Hi,
thanks for your notes, I used them for my Ubuntu 11.04 64bit and they were very helpful. On the other hand i experienced a problem following these steps. After the reboot the the X server was not working. So i had to black list some kernel modules in order to have things working.
So i suggest to add this step before running the installation of the driver. (line 11)
gsudo gedit /etc/modprobe.d/blacklist.conf
Add the following lines to the file:
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
This worked quite smoothly for me.
I found this on this step in the installation process for an older version of Ubuntu (10.04)
http://ubuntuforums.org/showthread.php?t=1625433
I’m really inspired with your writing abilities and also with the format for your weblog. Is this a paid theme or did you customize it your self? Either way keep up the nice high quality writing, it’s rare
to peer a great weblog like this one nowadays..
I was very pleased to find this site. I want to to thank
you for your time for this particularly wonderful read!!
I definitely loved every bit of it and I have
you bookmarked to see new information in your website.
I comment when I like a article on a website or if I have
something to add to the discussion. It is caused by the fire communicated
in the article I looked at. And after this post Installing Cuda 4.0 RC on Ubuntu 10.10 64-bit | sublimated.
I was moved enough to drop a thought ๐ I actually do have 2 questions for you if you tend
not to mind. Is it only me or do a few of these remarks come across like they are
coming from brain dead people? ๐ And, if you are posting
on additional online social sites, I would like to follow
you. Would you list all of your community sites like your twitter feed, Facebook
page or linkedin profile?
It’s a pity you don’t have a donate button! I’d without a doubt donate to this brilliant blog!
I guess for now i’ll settle for book-marking and adding your RSS feed to my Google account.
I look forward to brand new updates and will share this website with my Facebook group.
Talk soon!
Hi there, I discovered your website by the use of Google whilst looking for a related subject, your website came up, it seems
good. I have bookmarked it in my google bookmarks.
Hi there, just turned into aware of your weblog thru Google, and found that it’s truly informative.
I am going to be careful for brussels. I’ll
be grateful in the event you continue this in future.
A lot of other folks shall be benefited from your writing.
Cheers!
It’s very trouble-free to find out any matter on web as compared to books, as I
found this article at this website.
Unquestionably imagine that which you said.
Your favorite reason appeared to be on the internet the easiest factor to
have in mind of. I say to you, I definitely get annoyed at the same time as folks think about concerns that they just don’t recognise about.
You controlled to hit the nail upon the highest as smartly
as outlined out the entire thing without having side-effects ,
folks can take a signal. Will likely be back to get more.
Thanks
Why viewers still use to read news papers when in this technological globe the
whole thing is existing on net?
Very good post. I will be facing a few of these issues as well..
Hi, I wish for to subscribe for this weblog to obtain most
recent updates, therefore where can i do it please help.
Greate post. Keep writing such kind of info on your blog.
Im really impressed by it.
Hey there, You’ve performed an incredible job. I will definitely digg it and in my opinion suggest to my friends.
I am confident they’ll be benefited from this site.