| Day 1 | Day 2 | Day 3 | Day 4 | Day 5 | Day 6 | Day 7 | Day 8 | Day 9 | Day 10 | Other Resources |
Blue Waters 2014 Petascale Institute
Day 07- Hybrid Parallel Programming
Day 7
(9:00 AM - 10:30 AM) Hybrid MPI + OpenMP Hands-on
Instructor: Phil List
Materials
(10:30 AM - 10:45 AM) Break
(10:45 AM - 12:15 PM) Hybrid MPI + CUDA
Instructor: Simon Garcia de Gonzalo
Slides
(12:15 PM - 1:15 PM) Lunch
(1:15 PM - 3:00 PM) Parallel Thinking
Instructor: Aaron Weeden
(3:00 PM - 3:30 PM) Break
(3:30 PM - 4:45 PM) OpenMP + OpenACC Hands-on
Instructor: Mobeen Ludin
# Make sure you have two terminals/puttys open (login/compute node). You will edit and
compile on login-nodes and run programs on compute nodes. In other words, whenever you use
vim or make commands you should be on login node, whenever you use aprun or export (export
OMP_NUM_THREADS=16) commands then you should be on compute node
# get the code
$ cp -r ~instr004/BW_Institute/Examples/OpenACC/ ~/
# go to the code
$ cd ~/OpenACC
# Load the right modules
$ module load craype-accel-nvidia35
# Ask for resources
$ qsub -I -l nodes=1:ppn=16:xk,walltime=01:30:00
# delete old executables
$ make clean
# On login-node recompile the code
$ make all
# Running vector addition with OpenMP only
$ aprun -d 16 ./omp_vecAdd_c
# Running vector addition with OpenACC only
$ aprun ./acc_vecAdd_c
# Export number of threads
$ export OMP_NUM_THREADS=16
# Running vector addition + Reduction with OpenMP and OpenACC
$ aprun -d 16 ./hybrid_vecAdd_c
Helpful Links:
What is Project Euler?
Cray Application Developer's Environment User's Guide
Blue Water's User Guide
HPC University Site
Math
(4:45 PM - 5:00 PM) Surveys
(5:30 PM - 6:30 PM) Dinner
| Day 1 | Day 2 | Day 3 | Day 4 | Day 5 | Day 6 | Day 7 | Day 8 | Day 9 | Day 10 | Other Resources |