GPUs on Grid5000: Difference between revisions

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


GPU are available in Grenoble, Lyon and Lille.
GPU are available in Grenoble, Lyon and Lille.<br />
 
You can reserve a node with GPU using OAR GPU property. For Grenoble and Lyon:
You can reserve a node with GPU, using OAR GPU property.  
{{Term|location=frontend|cmd=<code class="command">oarsub</code> -I -p "GPU='YES'"}}  
{{Term|location=frontend|cmd=<code class="command">oarsub</code> -I -p "GPU='YES'"}}  
or for Lille:
{{Term|location=lille|cmd=<code class="command">oarsub</code> -I -p "GPU='SHARED'"}}


{{Warning|text=Please note that Lille GPU are shared between nodes and the oarsub command will differ from Grenoble or Lyon. When using GPUs at Lille, you may encounterer some trouble, you can read more about Lille GPU on [[Lille:GPU]].}}
{{Warning|text=Please note that Lille GPU are shared between nodes and the oarsub command will differ from Grenoble or Lyon. When using GPUs at Lille, you may encounterer some trouble, you can read more about Lille GPU on [[Lille:GPU]].}}
{{Term|location=lille|cmd=<code class="command">oarsub</code> -I -p "GPU='SHARED'"}}

Revision as of 17:24, 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. For Grenoble and Lyon:

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

or for Lille:

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

Please note that Lille GPU are shared between nodes and the oarsub command will differ from Grenoble or Lyon. When using GPUs at Lille, you may encounterer some trouble, you can read more about Lille GPU on Lille:GPU.