CUDA Miner Installation on a fresh Ubuntu 14.04 LTS

After Ubuntu is installed and ready, click on the ubuntu icon on the side bar or press windows key on your keyboard type additional drivers and open the application. You will have 4 to 5 choices depending on your nvidia graphics card

Either select the one which has recommended

Or choose the one which says tested

Apply the changes and wait for it to install. Once it is installed press Ctrl + Alt + F6 to go to command line mode. This is because during the installation of the nvidia driver inside the cuda toolkit, Xserver (the service that enables graphical user interface has to be turned off)

Run the installer (the parameter override compiler will negate any compiler version issues) ./cuda_6.0.37_linux_64.run -override compiler

Give yes for all questions, and when asked for the path where the cuda toolkit and cuda toolkit samples, press enter so that it takes the default location, it will be easier to debug.

You might be asked to re run the setup after restart as the installer will try and remove the other drivers. Once restarted come back to the CLI using Ctrl + Alt + F6 and nagivate to downloads folder (without quote) – “cd /home/yourusername/Downloads/”. After that escalate privilege to root using “sudo su ” command, enter your password if asked.

Run the command (without quotes) – ” cd “

Edit .bashrc file with the command (without quotes) – nano .bashrc

Add the following to the end of the document – “PATH=$PATH:/usr/local/cuda-6.0/bin”, o the next line (press enter) ” LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-6.0/lib64:/lib “

Press Ctrl + Y to close press enter to save. You will be back at the terminal. Run the command (without quotes) : “source .bashrc”

16. Edit .bashrc file with the command (without quotes) – nano .bashrc
17. Add the following to the end of the document – “PATH=$PATH:/usr/local/cuda-6.0/bin”, o the next line (press enter) ” LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-6.0/lib64:/lib “
18.Press Ctrl + Y to close press enter to save. You will be back at the terminal.

Once that is done, Run the command: source .bashrc

The problem is that of permission, the cuda miner is not avle to access the nvidia_331_uvm module..

Thank you for the quick response and help! I went back through the library linking and made sure all was correct, and attempted your fix. Unfortunately I am met with this similar error while running “nvidia-modprobe -c 0 -u”:

So apparently, nvcc is not on the PATH
Are you running it with sudo. You can confirm this with:

sudo bash -c ‘echo $PATH’
The easiest solution is to call sudo with the absolute path of nvcc:

sudo $(which nvcc)
When running commands without absolute path like nvcc, sudo uses the value of the secure_path configuration in /etc/sudoers as the PATH, for example in my system:

Defaults secure_path=”/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin”
So even if you set PATH in one of the startup files that the shell normally sources, it won’t work. If you want to make sudo nvcc work temporarily, just to get your build working, I think you have two options:

Edit the installer script and change the lines with sudo nvcc to sudo /path/to/nvcc
Create a symlink to nvcc in one of the directories listed in secure_path, like this: sudo ln -s /path/to/nvcc /sbin/nvcc
UPDATE

If you have a hard time finding the path of nvcc, you can try these commands, in this order (they get slower and slower), until you find a match:

Try installing the nvidia-331-uvm using apt-get ( apt-get install nvidia-331-uvm) and also please send me some screenshots/error information. Are you using the same card as bryce, because each type of manufacturer / card might have a different error!

Its like you read my mind! You appear to know a lot about
this, like you wrote the book in it or something.
I think that you could do with a few pics to drive the message home a little bit, but other than that, this is fantastic blog.
A fantastic read. I’ll definitely be back.

It is the best time to make some plans for the future and it’s time to be happy.
I have read this post and if I could I wish to suggest you
few interesting things or suggestions. Perhaps you could write next articles referring to this article.

Blog Stats

Recent Posts: d3@dbr@1n's Zone! World is Not Enough

Everyone who has been trying to access facebook and instagram are not able to get through for about 35+ minutes today!. It seems their DNS servers are not pointing to the servers or they are under DDOS or may be they are upgrading?? The ping, trace route and HTTP request lookups are all returning null/false. […]

With reference to the news: The Slovenia-based Bitstamp announced the breach on its website Monday and shut down services temporarily Tuesday in order to investigate the hack. The theft totaled about 19,000 Bitcoin, but hackers were only able to access a small portion of the exchange’s total assets. While some Bitcoins are stored online, […]

Hello all, Happy new year 2015! It is not a good start for bitcoin this year, so, I though I should let you all know how to improve your mining infrastructure efficiency so that you might earn the extra penny from it. There are only 3 things that you can change/improve to make the […]

Step by Step Guide to Cuda Mining on Ubuntu 14.04 LTS (as simple as copy paste) After Ubuntu is installed and ready, click on the ubuntu icon on the side bar or press windows key on your keyboard type additional drivers and open the application. You will have 4 to 5 choices depending on your […]

I am trying to embed a live video stream onto a flex bed using mxml, as3 and adobe flash builder 4.5…. till date this has been my hardest job… from decryption to hacking to reverse engineering ddl files to climbing mountains, to clicking wild animals pictures….

Gemini sign is emotionally detached You are not very good at dealing with emotion. You live your life in your head, free from emotions and you can be downright insensitive, not on purpose but you don’t fully understand emotions so you avoid them. This could run into trouble in a dating relationship if you pick […]