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 13 months ago Last modified on 11/16/16 17:39:30