OpenMP Introduction

8/25/2001

Click here to start

Return to PowerLearn Home Page

Table of Contents

A Standard for 

Definition of OpenMP

OpenMP Specification

Why OpenMP

OpenMP Compared

OpenMP Today

OpenMP Interface Model

OpenMP Interface Model...

OpenMP Execution Model

OpenMP Directive Format

Creating Parallel Regions

Semantics of Parallel Region

Work Sharing Constructs

Work Sharing Constructs

Work Sharing Constructs

Why Serialize?

Synchronization Constructs

Synchronization Constructs

Example: Critical Section

Synchronization Constructs

Synchronization Constructs

OpenMP Clauses

Example: Atomic Directive

Synchronization Constructs

Synchronization Constructs

OpenMP Directive

Clauses in OpenMP/1

Thread Private

Thread Private

Data

Clauses in OpenMP/2

Clauses in OpenMP/3

OpenMP Clause

OpenMP Clause

OpenMP Clause

Workload Scheduling

Workload Scheduling

Custom Work Distribution

Scope Definitions

Scope Definitions

Nested Parallelism

Nested Parallelism

Compiler Support for OpenMP

Run Time Library

OpenMP Lock Functions/1

OpenMP Lock Functions/2

OpenMP Correctness Rules

OpenMP Efficiency Rules

FORTRAN Example

Example of an OpenMP Program/3

FORTRAN Example

FORTRAN / C Example

Example: Parallel Region in C

Measuring OpenMP Performance

Synchronization Primitives

Serialization Primitives

PPT Slide

Establishing Parallel Region

Barrier Overhead

Critical Section Overhead

Reduction Operation Overhead 

OpenMP Measurement Summary

Measurements Conclusions

OpenMP “Danger Zones”

Race Conditions/1

Race Conditions/2

Deadlock/1

Deadlock/2

Livelock

Program of Work

OpenMP Summary

Author: Frank Kampe 

Email: u2591@sgi.com

Other information:
281-493-8372