9.1. Introduction to OpenMP

OpenMP is an industry specification describing a common set of APIs for multi-platform SMP programming. OpenMP is a portable, scalable programming model designed to provide SMP programmers with a simple and flexible interface for developing parallel applications for platforms ranging from the desktop to the super computer. It is comprised of three components, as shown in Table 9-1.

Table 9-1. OpenMP components
ComponentsRelevant section(s)
Compiler directivesFrom 9.3, “Classification of OpenMP directives” on page 337 to 9.9, “Data-sharing attribute clauses” on page 355
Run-time library functionsSection 9.10, “Run-time library functions” on page 363
Environment variablesSection 9.11, “Environment variables” on page 373 ...

Get Developing and Porting C and C++ Applications on AIX now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.