Difference between revisions of "OpenACC Workshop"

From HPC users
Jump to navigationJump to search
Line 2: Line 2:


[[media:oldenburg_openacc.pdf|Agenda]]<br>
[[media:oldenburg_openacc.pdf|Agenda]]<br>
[[media:OpenACC_Workshop.pdf|Welcome and Introduction]]
[[media:OpenACC_Workshop.pdf|Welcome and Introduction]]<br>
[[media:intro1.pdf|Day 1 Morning Lecture]]<br>
[[media:intro2.pdf|Day 1 Afternoon Lecture]]<br>


== Quick Guide OpenACC ==
== Quick Guide OpenACC ==

Revision as of 10:12, 29 March 2017

Slides

Agenda
Welcome and Introduction
Day 1 Morning Lecture
Day 1 Afternoon Lecture

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> .