OpenACC Workshop

From HPC users
Revision as of 14:10, 29 March 2017 by Harfst (talk | contribs) (→‎Slides)
Jump to navigationJump to search

Slides

Agenda
Welcome and Introduction
Day 1 Morning Lecture: Introduction OpenACC I
Day 1 Afternoon Lecture: Introduction OpenACC II
Day 2 Morning Lecture: Advanced OpenACC
Day 2 Afternoon Lecture: GPU-enabled Numerical Library

Quick Guide OpenACC

Modules to load:

module load PGI CUDA-Toolkit

Command to compile:

pgcc -acc -ta=tesla:cc60 -o executable code.c

Command to run:

srun -p mpcg.p --gres=gpu:1 ./executable

Alternatively use partition cfdg.p.

More info in the OpenACC Introduction.

Workshop

To copy data from the course directory:

cp -r /user/gilu2568/<dir> .