Hi Gert-Jan,
Thanks! I’m doing it right now ;)
Regarding the PATH stuff. Is your example with or without commands? It’s because I read something about changing paths from “http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html#package-manager-installation” and they are using the “export command”!? Or do I just do it as you wrote and edit the file /etc/environment (I use VI):
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/cuda-5.5/bin"
LD_LIBRARY_PATH=/usr/local/cuda-5.5/lib
Another thing is, they suggest that there’s a difference between 32bit and 64bit systems:
“…The LD_LIBRARY_PATH variable needs to contain /usr/local/cuda-5.5/lib on a 32-bit system, and /usr/local/cuda-5.5/lib64 on a 64-bit system…”
Then I have to use the 64bit method, right? So I “export” or “VI” (edit) my /etc/environment file!?
05:11
OK, I just edited the file /etc/environment and added to the path: “/usr/local/cuda-5.5/bin”. And then I added in the next line: “LD_LIBRARY_PATH=/usr/local/cuda-5.5/lib64”. If it doesn’t work I can just edit it again and remove “64” from line 2 ;)
Well, regarding the “export command” I guess it does the same as when we edit it directly. I gets me thinking of the command: “echo “FQDN” > /etc/hostname”. The export command does the same, add’s to the file I guess!?!?
Well, this is very nerve wrecking ;) Let’s test it and see if it works. ;)
I’ll be back tomorrow ;)
05:39
Well, it is kind of tomorrow now ;) It didn’t work, the GPU didn’t get recognized by Boinc. I’m so sad :( It sounded so g… d… good!! “nouveau” being “stopped” automatically and stuff. It really looked so good. It’s a clean installation of Ubuntu Server 12.04. Didn’t do anything other than modify it to a static IP. No driver installation or anything. It was a clean installation.
A error command during boot-up: “Starting … load fallback graphics devices … [fail]” or something like that.
05:59
OK!! Look here. Maybe there’s still hope. From the Nvidia CUDA site it says:
https://developer.nvidia.com/cuda-downloads
*** The CUDA 5.5 Debian packages are not compatible with Ubuntu 12.04 after the 12.04.4 LTS update. Please use the .run installer instead.
But!! If we have to use the .run file, then what about all the great advantages of the .deb method? And I’m so DAMN disappointed in Ubuntu, or at least I’m getting there!! Can you help me Gert-Jan? Please be specific if you can help me. What do we do? How does it affect the .deb way to do it? Can we run the .run file and then that’s it? Or do I have to redo something? Update? Reinstall?
CUDA Information also says:
2.5.2. Runfile Installation
If you are using Grub2 as a bootloader, you may also need to edit its config to prevent Nouveau from loading. Add “rdblacklist=nouveau nouveau.modeset=0” to the end of the GRUB_CMDLINE_LINUX entry in /etc/default/grub. Then, remake your Grub configuration by running:
# grub2-mkconfig -o /boot/grub2/grub.cfg
:(
06:22
Hi Gert-Jan… It’s not looking good :(
I tried this:
wget http://developer.download.nvidia.com/compute/cuda/5_5/rel/installers/cuda_5.5.22_linux_64.run
sh cuda_5.5.22_linux_64.run
This is the result:
===========
= Summary =
Driver: Installation Failed
Toolkit: Installation skipped
Samples: Installation skipped
Logfile is /tmp/cuda_install_1689.log
root@myprettyfuckedupcommodore64:/home/myusername#
Kind Regards,
Dan