Posts

Showing posts with the label Scientific

Installing CUDA on Ubuntu

I just spent two days trying to install CUDA on Ubuntu. I thought that the documentations make this appear much harder than it needs to be. The main thing in my experience is just that we need to be careful about the driver. Here are the steps I suggest: 1. Install an NVIDIA driver from the ppa:graphics_drivers/ppa. Ensure that the version of your OS is supported by the driver. This information is provided on the ppa website here . 2. Download the correct version of the CUDA runfile. Installing from the package manager did not work for me because it would install an unsupported version of the driver. When installing from the runfile, ensure that you do not install the driver that comes in the package. As long as the restricted driver you downloaded in step one is recent enough, CUDA will work. 3. Set the PATH and LD_LIBRARY_PATH environment variables. 4. After installing cuda, check if /dev/nvidia* files exist and ensure that you set the permissions so that non-root users can use ...

Installing GRUB after installing Windows

Windows is THE most popular OS in the world... It is also the most unfriendly to other OSes. One common problem that affects people is that when they install Windows after Linux the GRUB bootloader is overwritten. So the poor chap often ends up reinstalling the whole of linux... The following post by David Mooney on xubuntu-users mailinglist tells you how to reinstall GRUB without all that circus..

How Random is REALLY Random

Statuary Warning : Long and Technical entry.. Random is a beautiful word and randomness, a strikingly beautiful concept. The most intriguing thing about” randomness” is probably that it is virtually impossible to generate something TRUELY random ourselves or by a computer program