Slide 1 Chapter 17 Shared-Memory Programming Slide 2 Introduction OpenMP is an application programming interface (API) for parallel programming on multiprocessors. It consists…