Wednesday, January 6, 2016

How to install CUDA 7.0 in BP012 with Nvidia K40C


Hardware: BP012, PNOR v1.0, BMC v1.00.48
GPU: Nvidia K40C
OS: Ubuntu 14.04.3 LTS ppc64el
CUDA: v7.0 for ppc64el
Nvidia K40C driver for CUDA v7.0: v346.96 for Linux Power8 Ubuntu 14.04

Note:
1.      Nvidia K40C requires external PSU, Power on before BP012 AC-on.
2.      Connect LAN to DHCP environment before Install OS.


Process
1.      Install Ubuntu 14.04.3 LTS
2.      Add follows into /etc/network/interfaces
auto eth0
iface eth0 inet dhcp
3.      Start Eth0 to get IP address
dhclient eth0
4.      Install gcc
apt-get install gcc
5.      Install Nvidia K40C driver
dpkg –i nvidia-driver-repo-ubuntu1404_7.0-346.96_ppc64el.deb
6.      Install repository meta-data
dpkg –i cuda-repo-ubuntu1404-7-0-local_7.0-28_ppc64el.deb
7.      Update application repository cache
apt-get update
8.      Install CUDA v7.0
apt-get install cuda
9.      Reboot BP012
10.  Set CUDA Environment
export PATH=/usr/local/cuda-7.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-7.0/lib64:$LD_LIBRARY_PATH
11.  Change directory to CUDA Samples
cd /usr/local/cuda-7.0/bin
12.  Install CUDA sample files
./cuda-install-samples-7.0.sh /download
13.  Compiling Examples
cd /download/NVIDIA_CUDA-7.0_Samples
make
14.  Change to examples folder
cd /download/NVIDIA_CUDA-7.0_Samples/bin/ppc64el/linux/release


15.  Execute examples
./deviceQuery



./bandwidthTest



nvidia-smi –q



lspci –s 0000:01:00.0 –vvv


No comments:

Post a Comment

How to fix gpu_burn compiler failure issue

System Environment: Ubuntu 22.04 LTS Server CUDA v12.0 GPU: RTX-4080 (driver 525.85.05) AP: GPU_Burn v1.1 Symptom: met error in make gpu_bur...