Dear Richard,
After compiling in the same way as given in the webpage, I couldn't reboot. It was showing a message that "running low graphic mode". It was not opening the desktop. Then through ctrl+alt+f1, I uninstalled nvida and cuda. Then I could boot the system.
Finally I have installed both cuda and nvidia after going through many web sources.
I have installed NVIDIA drive through additional driver option in Ubuntu
software & update centre. It installed recommended nvidia driver.
For cuda installation I followed these scripts,
[
chmod +x cuda_5.0.35_linux_64_ubuntu11.10-1.run
sudo ./cuda_5.0.35_linux_64_ubuntu11.10-1.run --override
sudo gedit ~/.bashrc
sudo nano /usr/local/cuda/include/host_config.h line: 115 comment out error
//#error -- unsupported GNU version! gcc versions later than 4.9 are not supported!
rsync -av /usr/local/cuda/samples ]
I need your help to check whether cuda is connected with freesurfer. How to check this.