class: center, middle, inverse, title-slide # HPC Parallel Programming Workshop ## June 28-30, 2022 ### Yue Yu and Alex Pacheco ### Department of Mathematics and Library & Technology Services
Lehigh University --- class: myback # Workshop Schedule | Day | Time | Session | |:-------:|:----------:|:-------------:| | June 28 | 9AM - 12PM | Introduction to HPC & Linux | | | 1PM - 2PM | High performance computing for multiphase flows, <br />Amanda Howard, Pacific Northwest National Laboratory | | | 2PM - 3:30PM | Introduction to Fortran Programming | | | 3:30PM - 5PM | Introduction to C Programming | | June 29 | 9AM - 12PM | Parallel Programming Concepts | | | 1PM - 2PM | Modeling of Dynamic Fragmentation of Tempered Glass, <br /> Ross Stewart, Corning Inc | | | 2PM - 5PM | Introduction to OpenMP | | June 30 | 9AM - 12PM | Introduction to OpenACC | | | 1PM - 2PM | Many-Physics Computations with High-Performance Computing, <br /> Xianyi Zeng, Department of Mathematics, Lehigh University | | | 2PM - 5PM | Introduction to MPI | * 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, 2022. --- # Attendee Summary
<!-- ![Attendee Status](parprog_status22.png) --> --- # Attendee Summary
<!-- ![Attendee Status](parprog_status22.png) --> --- # Attendee Summary
--- # Attendee Summary
<!-- ![Attendee Status](parprog_hpc22.png) --> --- # Attendee Summary
--- # Attendee Summary
<!-- ![Attendee Status](parprog_dept22.png) --> --- # Attendee Summary
<!-- ![Attendee Status](parprog_lang22.png) --> --- # Attendee Summary
<!-- ![Attendee Status](parprog_lingo22.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 hpc2022_prog_083122 --reservation=hpc2022_prog_083122_183 <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 hpc2022_prog_083122 #SBATCH --reservation=hpc2022_prog_083122_183 <program name> ``` --- # Workshop Material * Copy Workshop material to your current location ```bash cp -r /home/alp514/Workshop/2022HPC/ . ``` * Directory Contents * `fortran/cprog`: directory containing Fortran and C Programming examples and exercise solutions. * `parprog`: directory for Parallel Programming Workshop * `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 ```