All +
All -
CUDA Linux Setup
- Ubuntu 7.10
- + -
requirements
- run 'make' inside NVIDIA_CUDA_SDK
- guide
- + -
Install 7.10 (32 bit) to VM
- keyboard layout = macintosh
- + -
Change repo mirror to iiNet
- menu 'System > Administration > Synaptic Package Manager'
- 'Settings > Repositories'
- + -
tab Ubuntu Software
- tick main, universe, restricted, multiverse
- untick installable from CD-ROM
- + -
Downnload from: other
- click Reload button
- + -
Update system packages
- click orange system update icon on top toolbar
- click check
- click install updates
- restart system
- Backup taken
- + -
Add share folder to VM
- menu Settings
- + button, add Shared folder, enabled
- enable shared folders
- + -
Install VMTools
- menu 'Virtual Machine > Install VMware Tools'
- cp /meda/cdrom/VMware*.tar.gz /tmp/
- cd /tmp/
- tar -zxf V<tab>
- cd vmware-tools-distrib
- sudo ./vmware-tools-setup.sh
- + -
fix network settings
- click networking icon > manual configuration
- select wired connection, then click properties
- untick 'enable roaming mode'
- select Automatic configuration (DHCP)
- click Ok
- tick Wired connection
- Snapshot taken
- + -
Create shortcut to shared folders
- ln -s /mnt/hgfs/ /home/adam/Desktop/Shared\ Folder
- + -
Install prerequisits
- sudo apt-get install build-essential libgl1-mesa-dev libglu1-mesa-dev libglut3-dev
- + -
Install CUDA
- copy over driver, toolkit and sdk files to home dir
- + -
NVidia Drivers
- sudo sh ./NVIDIA-<tab> --extract-only
- sudo cp -r -t /usr/lib/ /home/adam/NVIDIA-Linux-x86-169.09-pkg1/usr/lib/**
- sudo cp -t /usr/bin/ /home/adam/NVIDIA-Linux-x86-169.09-pkg1/usr/bin/lib*
- rm -r NVIDIA-L<tab>/
- + -
CUDA Toolkit
- sudo sh ./NVIDIA_CUDA_T<tab>
- + -
CUDA SDK
- + -
Change paths
- nano .bashrc
- + -
to end add
- PATH=$PATH:/usr/local/cuda/path
- export PATH
- LD_LIBRARY_PATH=/usr/local/cuda/lib
- export LD_LIBRARY_PATH
- + -
Misc builds
- cd ~/NVIDIA_CUDA_SDK/common
- make
- sudo ln -s /usr/lib/libcuda.so.169.09 /usr/lib/libcuda.so
- + -
Build all projects
- cd ~/NVIDIA_CUDA_SDK/
- make emu=1