class: center, middle, inverse, title-slide # HPC Parallel Programming Workshop ## July 13-15, 2021 ### Yue Yu and Alex Pacheco ### Department of Mathematics and Library & Technology Services
Lehigh University --- class: myback # Workshop Schedule | Day | Time | Session | |:-------:|:----------:|:-------------:| | July 13 | 9AM - 12PM | Introduction to HPC & Linux | | | 1PM - 2PM | High-Performance Computing in Scientific and Engineering Problems, <br />Xiu Yang, Industrial & Systems Engineering, Lehigh University | | | 2PM - 5PM | Parallel Programming Concepts | | July 14 | 9AM - 12PM | Introduction to OpenMP | | | 1PM - 2PM | Research Talk: Emily Johnson, <br />Aerospace & Mechanical Engineering, University of Notre Dame| | | 2PM - 5PM | Introduction to OpenACC | | July 15 | 9AM - 12PM | Introduction to MPI | | | 1PM - 5PM | MPI (contd), Additional Exercise Time | * 8:50AM - 9AM check in on all days with a break for lunch between Noon and 1PM. * Computing time for Workshop provided by [NSF CC* award 2019035](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2019035&HistoricalAwards=false). * Attendees will have access to HPC resources until August 31, 2021. --- # Attendee Summary
<!-- ![Attendee Status](parprog_status.png) --> --- # Attendee Summary
<!-- ![Attendee Status](parprog_hpc.png) --> --- # Attendee Summary
<!-- ![Attendee Status](parprog_dept.png) --> --- # Attendee Summary
<!-- ![Attendee Status](parprog_lang.png) --> --- # Attendee Summary
<!-- ![Attendee Status](parprog_lingo.png) --> --- # HPC Workshop * We have reserved the hawkgpu nodes for this workshop * Only request as many resources as you need * Maximum of 6 cpus, 30 min walltime, and 1 gpu per job * To run jobs interactively ```bash srun -p hawkgpu -n 6 -N 1 --gres=gpu:1 -t 30 -A hpc2021_prog_083121 --reservation=lts_165 <program name> ``` * Example submit script ```bash #!/bin/bash #SBATCH -p hawkgpu #SBATCH -n 6 -N 1 #SBATCH --gres=gpu:1 #SBATCH -t 30 #SBATCH -A hpc2021_prog_083121 #SBATCH --reservation=lts_165 <program name> ``` --- # Workshop Material * Copy Workshop material to your current location ```bash cp -r /home/alp514/Workshop/2021HPC/parprog . ``` * Directory Contents * `get_started`: for users who haven't used HPC or compiled code to get started with using Hawk * `exercises`: sample serial codes to parallelize * `solution`: directory containing solutions for exercises * You have a choice of using GNU, Intel and NVIDIA HPC SDK compiler. * OpenACC: requires NVIDIA HPC SDK * Exercise folder contains Makefiles that default to NVIDIA HPC SDK * To use other compilers, specify the compiler as follows ```bash make -f Makefile_c COMP=gnu make -f Makefile_f90 COMP=intel ```