wiki:Courseware/aParDist/Project3

Project 3: Program this and this 3

Building the image

Start with baseline and add NVIDIA CUDA support by:

wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_8.0.44-1_amd64.deb
dpkg -i cuda-repo-ubuntu1404_8.0.44-1_amd64.deb
apt-get update
apt-get install cuda

Prepare the CUDA libraries and the OS: Create a file at /etc/modprobe.d/blacklist-nouveau.conf with the following contents:

blacklist nouveau
options nouveau modeset=0

Regenerate the kernel initramfs:

update-initramfs -u

Compiling samples:

cd /usr/local/cuda-8.0/samples
make

Reboot the machine.

Test the installation

cd /usr/local/cudasamples/0_Simple/matrixMulCUBLAS/
./matrixMulCUBLAS 

Load the image:

omf load -t node2-1 -i mariassecondimage.ndz
Last modified 7 years ago Last modified on Nov 16, 2016, 10:39:30 PM
Note: See TracWiki for help on using the wiki.