GPUs on Grid5000: Difference between revisions

From Grid5000
Jump to navigation Jump to search
Line 15: Line 15:
= Compiling examples =
= Compiling examples =


export PATH=$PATH:/usr/local/cuda-5.0/bin
GPU are available in Grenoble, Lyon and Lille.
export LD_LIBRARY_PATH=/usr/local/cuda-5.0/lib64:/usr/local/cuda-5.0/lib
 
You can reserve a node with GPU, using OAR GPU property.
{{Term|location=frontend|cmd=<code class="command">oarsub</code> -I -p "GPU='YES'"}}
 
Please note that Lille GPU are shared between nodes and the oarsub command will differ from Grenoble or Lyon, you can read more about Lille GPU on [[Lille:GPU]]
{{Term|location=frontend|cmd=<code class="command">oarsub</code> -I -p "GPU='SHARED'"}}

Revision as of 17:15, 2 December 2013


Purpose

This page presents how to use GPUs on Grid'5000 and how to install your own NVIDIA drivers and CUDA installation.

In this tutorial, we will first compile and use CUDA examples and in the second part, we will install NVIDIA drivers and compile CUDA 5 from a simple wheezy-x64-base environment.

Pre-requisite

  • A basic knowledge of Grid'5000 is require, we suggest you to read Getting Started tutorial first.
  • Information about hardware information and GPUs availability can be found on Special:G5KHardware.

Compiling examples

GPU are available in Grenoble, Lyon and Lille.

You can reserve a node with GPU, using OAR GPU property.

Terminal.png frontend:
oarsub -I -p "GPU='YES'"

Please note that Lille GPU are shared between nodes and the oarsub command will differ from Grenoble or Lyon, you can read more about Lille GPU on Lille:GPU

Terminal.png frontend:
oarsub -I -p "GPU='SHARED'"