GPUs on Grid5000

From Grid5000
Jump to navigation Jump to search


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.