CUDA QUICK START GUIDE. DU _v8.0 September 2016

Similar documents
NVIDIA CUDA GETTING STARTED GUIDE FOR LINUX

NVIDIA CUDA GETTING STARTED GUIDE FOR MAC OS X

NVIDIA CUDA GETTING STARTED GUIDE FOR MAC OS X

NVIDIA CUDA GETTING STARTED GUIDE FOR LINUX

TESLA C2050/2070 COMPUTING PROCESSOR INSTALLATION GUIDE

NVIDIA CUDA GETTING STARTED GUIDE FOR MICROSOFT WINDOWS

How To Install Acronis Backup & Recovery 11.5 On A Linux Computer

NVIDIA GeForce Experience

Massey University Follow Me Printer Setup for Linux systems

DUAL MONITOR DRIVER AND VBIOS UPDATE

NVIDIA CUDA INSTALLATION GUIDE FOR MICROSOFT WINDOWS

nitrobit update server

How To Run A Password Manager On A 32 Bit Computer (For 64 Bit) On A 64 Bit Computer With A Password Logger (For 32 Bit) (For Linux) ( For 64 Bit (Foramd64) (Amd64 (For Pc

NVIDIA GRID 2.0 ENTERPRISE SOFTWARE

GRID VGPU FOR VMWARE VSPHERE

CDH 5 Quick Start Guide

GRID LICENSING. DU April User Guide

Installation & Upgrade Guide

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

CS197U: A Hands on Introduction to Unix

NVIDIA WMI. WP _v02 August White Paper

Pipeliner CRM Phaenomena Guide Getting Started with Pipeliner Pipelinersales Inc.

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

Network Scan Driver. User's Guide

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

The Rockefeller University I NFORMATION T ECHNOLOGY E DUCATION & T RAINING. VPN Configuration Guide for PC/Mac/Linux

A DirectX 9 capable graphics card is recommended. A DirectX 10 capable graphics card from ATI or nvidia is required for Volume Rendering.

Technical Brief. NVIDIA nview Display Management Software. May 2009 TB _v02

McAfee Firewall for Linux 8.0.0

Acronis Backup & Recovery 10 Server for Linux. Update 5. Installation Guide

Acronis Backup & Recovery 10 Server for Linux. Quick Start Guide

Recommended File System Ownership and Privileges

Installing and configuring TrueConf client application for Linux

TEGRA LINUX DRIVER PACKAGE R21.1

XID ERRORS. vr352 May XID Errors

NVIDIA VIDEO ENCODER 5.0

Local Caching Servers (LCS) February 2015

Parallels Virtuozzo Containers 4.7 for Linux Readme

XenClient Enterprise Upgrade Guide

AMD Catalyst Installer Notes for Linux

USB Driver. Installation Guide for H5 Devices

PARALLELS SERVER BARE METAL 5.0 README

Consolidated Monitoring, Analysis and Automated Remediation For Hybrid IT Infrastructures. Goliath Performance Monitor Installation Guide v11.

Net/FSE Installation Guide v1.0.1, 1/21/2008

SSD Guru. Installation and User Guide. Software Version 1.4

QUADRO POWER GUIDELINES

How To Install Storegrid Server On Linux On A Microsoft Ubuntu 7.5 (Amd64) Or Ubuntu (Amd86) (Amd77) (Orchestra) (For Ubuntu) (Permanent) (Powerpoint

AWS Schema Conversion Tool. User Guide Version 1.0

NVIDIA Mosaic Technology

Revision History. Revision Revision History Date

Dell System Update Version 1.0 Preview Guide

1. Install a Virtual Machine Download Ubuntu Ubuntu LTS Create a New Virtual Machine... 2

MetaMorph Microscopy Automation & Image Analysis Software Super-Resolution Module

Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start

IBM TRIRIGA Anywhere Version 10 Release 4. Installing a development environment

Novell Identity Manager Resource Kit

Intel IoT Gateway Software Development Kit SK100

DeviceAnywhere Automation for Smartphones Setup Guide Windows Mobile

NVIDIA Tesla Compute Cluster Driver for Windows

IBM Endpoint Manager Version 9.0. Patch Management for Red Hat Enterprise Linux User's Guide

USB Stick Driver Installation Instructions

The Linux System. o Updating without touching the user's files and configurations.

Wolfr am Lightweight Grid M TM anager USER GUIDE

Netop Remote Control for Linux Installation Guide Version 12.22

INSTRUCTION MANUAL. LoggerNet for Linux Installation Guide Revision: 4/15. Copyright Campbell Scientific, Inc.

jbase 5 Install on Amazon AWS a Primer

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

IBM BigFix Version 9.2. Patch for CentOS User's Guide IBM

GestióIP IPAM v3.0 IP address management software Installation Guide v0.1

Copyright Notice. Mobile Testing Enterprise 7.3. September Copyright Keynote LLC. All rights reserved.

Product Development. Using Critical Path EVM for the Microsoft Project Desktop Application Readme

SnapLogic Sidekick Guide

IBM Security QRadar Version (MR1) Installing QRadar 7.1 Using a Bootable USB Flash-Drive Technical Note

Desktop : Ubuntu Desktop, Ubuntu Desktop Server : RedHat EL 5, RedHat EL 6, Ubuntu Server, Ubuntu Server, CentOS 5, CentOS 6

Getting Started with CodeXL

AWS Schema Conversion Tool. User Guide Version 1.0

Installation Guide. Copyright (c) 2015 The OpenNMS Group, Inc. OpenNMS SNAPSHOT Last updated :19:20 EDT

User and Reference Manual

INSTRUCTION MANUAL. CSI Web Server for Linux Installation Guide Revision: 2/15. Copyright Campbell Scientific, Inc.

simplify monitoring Consolidated Monitoring, Analysis and Automated Remediation For Hybrid IT Infrastructures

ULTEO OPEN VIRTUAL DESKTOP V4.0

SNMP Manager User s Manual

Local Caching Servers (LCS): User Manual

Copyright 2014 SolarWinds Worldwide, LLC. All rights reserved worldwide. No part of this document may be reproduced by any means nor modified,

How to Install and Run Tibia on Linux Using Wine without Windows Contents

Dell Spotlight on Active Directory Server Health Wizard Configuration Guide

Cloudera Manager Installation Guide

Creating Overlay Networks Using Intel Ethernet Converged Network Adapters

SAM XFile. Trial Installation Guide Linux. Snell OD is in the process of being rebranded SAM XFile

DameWare Server. Administrator Guide

Moxa Device Manager 2.3 User s Manual

Abstract. Microsoft Corporation Published: November 2011

USB Driver. Installation Guide for LTE Devices

What s New in Propalms VPN 3.5?

Dell Statistica Statistica Enterprise Installation Instructions

Technical Brief. Introducing Hybrid SLI Technology. March 11, 2008 TB _v01

PARALLELS SERVER 4 BARE METAL README

Novell SUSE Linux Enterprise Virtual Machine Driver Pack

Transcription:

CUDA QUICK START GUIDE DU-05347-301_v8.0 September 2016

TABLE OF CONTENTS Chapter 1. Introduction...1 Chapter 2. Windows... 2 2.1. Network Installer... 2 2.2. Local Installer... 4 Chapter 3. Mac OSX...6 3.1. Network Installer... 6 3.2. Local Installer... 7 Chapter 4. Linux... 8 4.1. Linux x86_64...8 4.1.1. Redhat / CentOS... 8 4.1.1.1. RPM Installer... 8 4.1.1.2. Runfile Installer... 9 4.1.2. Fedora... 9 4.1.2.1. RPM Installer... 10 4.1.2.2. Runfile Installer... 10 4.1.3. SUSE Linux Enterprise Server... 11 4.1.3.1. RPM Installer... 11 4.1.3.2. Runfile Installer... 11 4.1.4. OpenSUSE...12 4.1.4.1. RPM Installer... 12 4.1.4.2. Runfile Installer... 13 4.1.5. Ubuntu... 13 4.1.5.1. Debian Installer... 14 4.1.5.2. Runfile Installer... 14 4.2. Linux armhf... 15 4.2.1. L4T...15 4.2.1.1. Debian Installer... 15 4.3. Linux aarch64... 15 4.3.1. L4T...15 4.3.1.1. Debian Installer... 16 4.4. Linux POWER8...16 4.4.1. Ubuntu... 16 4.4.1.1. Debian Installer... 16 4.4.2. Redhat / CentOS... 17 4.4.2.1. RPM Installer... 17 DU-05347-301_v8.0 ii

Chapter 1. INTRODUCTION This guide covers the basic instructions needed to install CUDA and verify that a CUDA application can run on each supported platform. These instructions are intended to be used on a clean installation of a supported platform. For questions which are not answered in this document, please refer to the Windows Installation Guide, Mac Installation Guide, and Linux Installation Guide. The CUDA installation packages can be found on the CUDA Downloads Page. DU-05347-301_v8.0 1

Chapter 2. WINDOWS When installing CUDA on Windows, you can choose between the Network Installer and the Local Installer. The Network Installer allows you to download only the files you need. The Local Installer is a stand-alone installer with a large initial download. For more details, refer to the Windows Installation Guide. 2.1. Network Installer 1. 2. 3. 4. 5. Launch the downloaded installer package. Read and accept the EULA. Select "next" to download and install all components. Once the download completes, the installation will begin automatically. Once the installation completes, click "next" to acknowledge the Nsight Visual Studio Edition installation summary. 6. Click "close" to close the installer. 7. Navigate to the CUDA Samples' nbody directory. 8. Open the nbody Visual Studio solution file for the version of Visual Studio you have installed. DU-05347-301_v8.0 2

Windows 9. Open the "Build" menu within Visual Studio and click "Build Solution". 10. Navigate to the CUDA Samples' build directory and run the nbody sample. DU-05347-301_v8.0 3

Windows 2.2. Local Installer 1. 2. 3. 4. Launch the downloaded installer package. Read and accept the EULA. Select "next" to install all components. Once the installation completes, click "next" to acknowledge the Nsight Visual Studio Edition installation summary. 5. Click "close" to close the installer. 6. Navigate to the CUDA Samples' nbody directory. 7. Open the nbody Visual Studio solution file for the version of Visual Studio you have installed. 8. Open the "Build" menu within Visual Studio and click "Build Solution". DU-05347-301_v8.0 4

Windows 9. Navigate to the CUDA Samples' build directory and run the nbody sample. DU-05347-301_v8.0 5

Chapter 3. MAC OSX When installing CUDA on Mac OSX, you can choose between the Network Installer and the Local Installer. The Network Installer allows you to download only the files you need. The Local Installer is a stand-alone installer with a large initial download. For more details, refer to the Mac Installation Guide. 3.1. Network Installer 1. 2. 3. 4. Launch the installer. Read and accept the EULA. Select "next" to download and install all components. Once the downloads and installations complete, click "next" to move to the install finished screen. 5. Click "close" to close the installer. 6. Open a terminal. 7. Set up the development environment by modifying the PATH and DY export PATH=/Developer/NVIDIA/CUDA-8.0/bin{PATH:+:{PATH}} export DYLD_LIBRARY_PATH=/Developer/NVIDIA/CUDA-8.0/lib\ {DYLD_LIBRARY_PATH:+:{DYLD_LIBRARY_PATH}} 8. Install Xcode via the App Store. 9. Install Xcode command-line tools: xcode-select --install 10. Install a writable copy of the samples then build and run the nbody sample: cd ~/NVIDIA_CUDA-8.0_Samples/5_Simulations/nbody./nbody DU-05347-301_v8.0 6

Mac OSX 3.2. Local Installer 1. 2. 3. 4. 5. 6. 7. Launch the installer. Read and accept the EULA. Select "next" to install all components. Once the installations complete, click "next" to move to the install finished screen. Click "close" to close the installer. Open a terminal. Set up the development environment by modifying the PATH and DY export PATH=/Developer/NVIDIA/CUDA-8.0/bin{PATH:+:{PATH}} export DYLD_LIBRARY_PATH=/Developer/NVIDIA/CUDA-8.0/lib\ {DYLD_LIBRARY_PATH:+:{DYLD_LIBRARY_PATH}} 8. Install Xcode via the App Store. 9. Install Xcode command-line tools: xcode-select --install 10. Install a writable copy of the samples then build and run the nbody sample: cd ~/NVIDIA_CUDA-8.0_Samples/5_Simulations/nbody./nbody DU-05347-301_v8.0 7

Chapter 4. LINUX CUDA on Linux can be installed using an RPM, Debian, or Runfile package, depending on the platform being installed on. 4.1. Linux x86_64 For development on the x86_64 architecture. In some cases, x86_64 systems may act as host platforms targeting other architectures. See the Linux Installation Guide for more details. 4.1.1. Redhat / CentOS When installing CUDA on Redhat or CentOS, you can choose between the Runfile Installer and the RPM Installer. The Runfile Installer is only available as a Local Installer. The RPM Installer is available as both a Local Installer and a Network Installer. The Network Installer allows you to download only the files you need. The Local Installer is a stand-alone installer with a large initial download. In the case of the RPM installers, the instructions for the Local and Network variants are the same. For more details, refer to the Linux Installation Guide. 4.1.1.1. RPM Installer 1. Install EPEL to satisfy the DKMS dependency by following the instructions at EPEL's website. 2. Install the repository meta-data, clean the yum cache, and install CUDA: sudo rpm --install cuda-repo-<distro>-<version>.<architecture>.rpm sudo yum clean expire-cache sudo yum install cuda 3. Reboot the system to load the NVIDIA drivers. 4. Set up the development environment by modifying the PATH and DU-05347-301_v8.0 8

Linux export PATH=/usr/local/cuda-8.0/bin{PATH:+:{PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64\ {LD_LIBRARY_PATH:+:{LD_LIBRARY_PATH}} 5. Install a writable copy of the samples then build and run the nbody sample: cd ~/NVIDIA_CUDA-8.0_Samples/5_Simulations/nbody./nbody 4.1.1.2. Runfile Installer 1. Disable the Nouveau drivers: 1. Create a file at /etc/modprobe.d/blacklist-nouveau.conf with the following contents: blacklist nouveau options nouveau modeset=0 2. Regenerate the kernel initramfs: sudo dracut --force 2. Reboot into runlevel 3 by temporarily adding the number "3" and the word "nomodeset" to the end of the system's kernel boot parameters. 3. Run the installer silently to install with the default selections (implies acceptance of the EULA): sudo sh cuda_<version>_linux.run --silent 4. Create an xorg.conf file to use the NVIDIA GPU for display: sudo nvidia-xconfig 5. Reboot the system to load the graphical interface. 6. Set up the development environment by modifying the PATH and export PATH=/usr/local/cuda-8.0/bin{PATH:+:{PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64\ {LD_LIBRARY_PATH:+:{LD_LIBRARY_PATH}} 7. Install a writable copy of the samples then build and run the nbody sample: cd ~/NVIDIA_CUDA-8.0_Samples/5_Simulations/nbody./nbody 4.1.2. Fedora When installing CUDA on Fedora, you can choose between the Runfile Installer and the RPM Installer. The Runfile Installer is only available as a Local Installer. The RPM Installer is available as both a Local Installer and a Network Installer. The Network Installer allows you to download only the files you need. The Local Installer is a standalone installer with a large initial download. In the case of the RPM installers, the DU-05347-301_v8.0 9

Linux instructions for the Local and Network variants are the same. For more details, refer to the Linux Installation Guide. 4.1.2.1. RPM Installer 1. Install the RPMFusion free repository to satisfy the Akmods dependency: su -c 'dnf install --nogpgcheck http://download1.rpmfusion.org/free/ fedora/rpmfusion-free-release-(rpm -E %fedora).noarch.rpm' 2. Install the repository meta-data, clean the dnf cache, and install CUDA: sudo rpm --install cuda-repo-<distro>-<version>.<architecture>.rpm sudo dnf clean expire-cache sudo dnf install cuda 3. Reboot the system to load the NVIDIA drivers. 4. Set up the development environment by modifying the PATH and export PATH=/usr/local/cuda-8.0/bin{PATH:+:{PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64\ {LD_LIBRARY_PATH:+:{LD_LIBRARY_PATH}} 5. Install a writable copy of the samples then build and run the nbody sample: cd ~/NVIDIA_CUDA-8.0_Samples/5_Simulations/nbody./nbody 4.1.2.2. Runfile Installer 1. Disable the Nouveau drivers: 1. Create a file at /usr/lib/modprobe.d/blacklist-nouveau.conf with the following contents: blacklist nouveau options nouveau modeset=0 2. Regenerate the kernel initramfs: sudo dracut --force 2. Reboot into runlevel 3 by temporarily adding the number "3" and the word "nomodeset" to the end of the system's kernel boot parameters. 3. Run the installer silently to install with the default selections (implies acceptance of the EULA): sudo sh cuda_<version>_linux.run --silent 4. Create an xorg.conf file to use the NVIDIA GPU for display: sudo nvidia-xconfig 5. Reboot the system to load the graphical interface. DU-05347-301_v8.0 10

Linux 6. Set up the development environment by modifying the PATH and export PATH=/usr/local/cuda-8.0/bin{PATH:+:{PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64\ {LD_LIBRARY_PATH:+:{LD_LIBRARY_PATH}} 7. Install a writable copy of the samples then build and run the nbody sample: cd ~/NVIDIA_CUDA-8.0_Samples/5_Simulations/nbody./nbody 4.1.3. SUSE Linux Enterprise Server When installing CUDA on SUSE Linux Enterprise Server, you can choose between the Runfile Installer and the RPM Installer. The Runfile Installer is only available as a Local Installer. The RPM Installer is available as both a Local Installer and a Network Installer. The Network Installer allows you to download only the files you need. The Local Installer is a stand-alone installer with a large initial download. In the case of the RPM installers, the instructions for the Local and Network variants are the same. For more details, refer to the Linux Installation Guide. 4.1.3.1. RPM Installer 1. Install the repository meta-data, refresh the Zypper cache, and install CUDA: sudo rpm --install cuda-repo-<distro>-<version>.<architecture>.rpm sudo zypper refresh sudo zypper install cuda 2. Add the user to the video group: sudo usermod -a -G video <username> 3. Reboot the system to load the NVIDIA drivers. 4. Set up the development environment by modifying the PATH and export PATH=/usr/local/cuda-8.0/bin{PATH:+:{PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64\ {LD_LIBRARY_PATH:+:{LD_LIBRARY_PATH}} 5. Install a writable copy of the samples then build and run the vectoradd sample: cd ~/NVIDIA_CUDA-8.0_Samples/0_Simple/vectorAdd./vectorAdd 4.1.3.2. Runfile Installer 1. Reboot into runlevel 3 by temporarily adding the number "3" and the word "nomodeset" to the end of the system's kernel boot parameters. DU-05347-301_v8.0 11

Linux 2. Run the installer silently to install with the default selections (implies acceptance of the EULA): sudo sh cuda_<version>_linux.run --silent 3. Create an xorg.conf file to use the NVIDIA GPU for display: sudo nvidia-xconfig 4. Reboot the system to load the graphical interface. 5. Set up the development environment by modifying the PATH and export PATH=/usr/local/cuda-8.0/bin{PATH:+:{PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64\ {LD_LIBRARY_PATH:+:{LD_LIBRARY_PATH}} 6. Install a writable copy of the samples then build and run the vectoradd sample: cd ~/NVIDIA_CUDA-8.0_Samples/0_Simple/vectorAdd./vectorAdd 4.1.4. OpenSUSE When installing CUDA on OpenSUSE, you can choose between the Runfile Installer and the RPM Installer. The Runfile Installer is only available as a Local Installer. The RPM Installer is available as both a Local Installer and a Network Installer. The Network Installer allows you to download only the files you need. The Local Installer is a standalone installer with a large initial download. In the case of the RPM installers, the instructions for the Local and Network variants are the same. For more details, refer to the Linux Installation Guide. 4.1.4.1. RPM Installer 1. Install the repository meta-data, refresh the Zypper cache, and install CUDA: sudo rpm --install cuda-repo-<distro>-<version>.<architecture>.rpm sudo zypper refresh sudo zypper install cuda 2. Add the user to the video group: sudo usermod -a -G video <username> 3. Reboot the system to load the NVIDIA drivers. 4. Set up the development environment by modifying the PATH and export PATH=/usr/local/cuda-8.0/bin{PATH:+:{PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64\ {LD_LIBRARY_PATH:+:{LD_LIBRARY_PATH}} 5. Install a writable copy of the samples then build and run the nbody sample: DU-05347-301_v8.0 12

Linux cd ~/NVIDIA_CUDA-8.0_Samples/5_Simulations/nbody./nbody 4.1.4.2. Runfile Installer 1. Disable the Nouveau drivers: 1. Create a file at /etc/modprobe.d/blacklist-nouveau.conf with the following contents: blacklist nouveau options nouveau modeset=0 2. Regenerate the kernel initrd: sudo /sbin/mkinitrd 2. Reboot into runlevel 3 by temporarily adding the number "3" and the word "nomodeset" to the end of the system's kernel boot parameters. 3. Run the installer silently to install with the default selections (implies acceptance of the EULA): sudo sh cuda_<version>_linux.run --silent 4. Create an xorg.conf file to use the NVIDIA GPU for display: sudo nvidia-xconfig 5. Reboot the system to load the graphical interface. 6. Set up the development environment by modifying the PATH and export PATH=/usr/local/cuda-8.0/bin{PATH:+:{PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64\ {LD_LIBRARY_PATH:+:{LD_LIBRARY_PATH}} 7. Install a writable copy of the samples then build and run the nbody sample: cd ~/NVIDIA_CUDA-8.0_Samples/5_Simulations/nbody./nbody 4.1.5. Ubuntu When installing CUDA on Ubuntu, you can choose between the Runfile Installer and the Debian Installer. The Runfile Installer is only available as a Local Installer. The Debian Installer is available as both a Local Installer and a Network Installer. The Network Installer allows you to download only the files you need. The Local Installer is a standalone installer with a large initial download. In the case of the Debian installers, the instructions for the Local and Network variants are the same. For more details, refer to the Linux Installation Guide. DU-05347-301_v8.0 13

Linux 4.1.5.1. Debian Installer 1. Install the repository meta-data, update the apt-get cache, and install CUDA: sudo dpkg --install cuda-repo-<distro>-<version>.<architecture>.deb sudo apt-get update sudo apt-get install cuda 2. Reboot the system to load the NVIDIA drivers. 3. Set up the development environment by modifying the PATH and export PATH=/usr/local/cuda-8.0/bin{PATH:+:{PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64\ {LD_LIBRARY_PATH:+:{LD_LIBRARY_PATH}} 4. Install a writable copy of the samples then build and run the nbody sample: cd ~/NVIDIA_CUDA-8.0_Samples/5_Simulations/nbody./nbody 4.1.5.2. Runfile Installer 1. Disable the Nouveau drivers: 1. Create a file at /etc/modprobe.d/blacklist-nouveau.conf with the following contents: blacklist nouveau options nouveau modeset=0 2. Regenerate the kernel initramfs: sudo update-initramfs -u 2. Reboot into runlevel 3 by temporarily adding the number "3" and the word "nomodeset" to the end of the system's kernel boot parameters. 3. Run the installer silently to install with the default selections (implies acceptance of the EULA): sudo sh cuda_<version>_linux.run --silent 4. Create an xorg.conf file to use the NVIDIA GPU for display: sudo nvidia-xconfig 5. Reboot the system to load the graphical interface. 6. Set up the development environment by modifying the PATH and export PATH=/usr/local/cuda-8.0/bin{PATH:+:{PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64\ {LD_LIBRARY_PATH:+:{LD_LIBRARY_PATH}} 7. Install a writable copy of the samples then build and run the nbody sample: DU-05347-301_v8.0 14

Linux cd ~/NVIDIA_CUDA-8.0_Samples/5_Simulations/nbody./nbody 4.2. Linux armhf For development on the armhf architecture. 4.2.1. L4T When installing CUDA on L4T on ARMv7, you must use the Debian Installer. The Debian Installer is available as both a Local Installer and a Network Installer. The Network Installer allows you to download only the files you need. The Local Installer is a stand-alone installer with a large initial download. The instructions for the Local and Network variants are the same. For more details, refer to the Linux Installation Guide. 4.2.1.1. Debian Installer 1. Install the repository meta-data, update the apt-get cache, and install CUDA: sudo dpkg --install cuda-repo-<distro>-<version>.<architecture>.deb sudo apt-get update sudo apt-get install cuda-toolkit-8-0 2. Reboot the system to load the NVIDIA drivers. 3. Set up the development environment by modifying the PATH and export PATH=/usr/local/cuda-8.0/bin{PATH:+:{PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64\ {LD_LIBRARY_PATH:+:{LD_LIBRARY_PATH}} 4. Install a writable copy of the samples then build and run the vectoradd sample: cd ~/NVIDIA_CUDA-8.0_Samples/0_Simple/vectorAdd./vectorAdd 4.3. Linux aarch64 For development on the aarch64 architecture. 4.3.1. L4T When installing CUDA on L4T on aarch64, you must use the Debian Installer. The Debian Installer is available as both a Local Installer and a Network Installer. The Network Installer allows you to download only the files you need. The Local Installer is DU-05347-301_v8.0 15

Linux a stand-alone installer with a large initial download. The instructions for the Local and Network variants are the same. For more details, refer to the Linux Installation Guide. 4.3.1.1. Debian Installer 1. Install the repository meta-data, update the apt-get cache, and install CUDA: sudo dpkg --install cuda-repo-<distro>-<version>.<architecture>.deb sudo apt-get update sudo apt-get install cuda-toolkit-8-0 2. Reboot the system to load the NVIDIA drivers. 3. Set up the development environment by modifying the PATH and export PATH=/usr/local/cuda-8.0/bin{PATH:+:{PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64\ {LD_LIBRARY_PATH:+:{LD_LIBRARY_PATH}} 4. Install a writable copy of the samples then build and run the vectoradd sample: cd ~/NVIDIA_CUDA-8.0_Samples/0_Simple/vectorAdd./vectorAdd 4.4. Linux POWER8 For development on the POWER8 architecture. 4.4.1. Ubuntu When installing CUDA on Ubuntu on POWER8, you must use the Debian Installer. The Debian Installer is available as both a Local Installer and a Network Installer. The Network Installer allows you to download only the files you need. The Local Installer is a stand-alone installer with a large initial download. The instructions for the Local and Network variants are the same. For more details, refer to the Linux Installation Guide. 4.4.1.1. Debian Installer 1. Install the repository meta-data, update the apt-get cache, and install CUDA: sudo dpkg --install cuda-repo-<distro>-<version>.<architecture>.deb sudo apt-get update sudo apt-get install cuda 2. Reboot the system to load the NVIDIA drivers. 3. Set up the development environment by modifying the PATH and export PATH=/usr/local/cuda-8.0/bin{PATH:+:{PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64\ {LD_LIBRARY_PATH:+:{LD_LIBRARY_PATH}} DU-05347-301_v8.0 16

Linux 4. Install a writable copy of the samples then build and run the vectoradd sample: cd ~/NVIDIA_CUDA-8.0_Samples/0_Simple/vectorAdd./vectorAdd 4.4.2. Redhat / CentOS When installing CUDA on Redhat on POWER8, you must use the RPM Installer. The RPM Installer is available as both a Local Installer and a Network Installer. The Network Installer allows you to download only the files you need. The Local Installer is a standalone installer with a large initial download. The instructions for the Local and Network variants are the same. For more details, refer to the Linux Installation Guide. 4.4.2.1. RPM Installer 1. Install EPEL to satisfy the DKMS dependency by following the instructions at EPEL's website. 2. Install the repository meta-data, clean the yum cache, and install CUDA: sudo rpm --install cuda-repo-<distro>-<version>.<architecture>.rpm sudo yum clean expire-cache sudo yum install cuda 3. Reboot the system to load the NVIDIA drivers. 4. Set up the development environment by modifying the PATH and export PATH=/usr/local/cuda-8.0/bin{PATH:+:{PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64\ {LD_LIBRARY_PATH:+:{LD_LIBRARY_PATH}} 5. Install a writable copy of the samples then build and run the vectoradd sample: cd ~/NVIDIA_CUDA-8.0_Samples/0_Simple/vectorAdd./vectorAdd DU-05347-301_v8.0 17

Notice ALL NVIDIA DESIGN SPECIFICATIONS, REFERENCE BOARDS, FILES, DRAWINGS, DIAGNOSTICS, LISTS, AND OTHER DOCUMENTS (TOGETHER AND SEPARATELY, "MATERIALS") ARE BEING PROVIDED "AS IS." NVIDIA MAKES NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. Information furnished is believed to be accurate and reliable. However, NVIDIA Corporation assumes no responsibility for the consequences of use of such information or for any infringement of patents or other rights of third parties that may result from its use. No license is granted by implication of otherwise under any patent rights of NVIDIA Corporation. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all other information previously supplied. NVIDIA Corporation products are not authorized as critical components in life support devices or systems without express written approval of NVIDIA Corporation. Trademarks NVIDIA and the NVIDIA logo are trademarks or registered trademarks of NVIDIA Corporation in the U.S. and other countries. Other company and product names may be trademarks of the respective companies with which they are associated. Copyright 2015-2016 NVIDIA Corporation. All rights reserved.