Difference between revisions of "OpenACC Workshop"
From HPC users
Jump to navigationJump to search
Line 13: | Line 13: | ||
Alternatively use partition cfdg.p. | Alternatively use partition cfdg.p. | ||
More info in the [[ | More info in the [[OpenACC|OpenACC Introduction]]. |
Revision as of 09:24, 28 March 2017
Slides
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.