OpenMP

Author: Blaise Barney, Lawrence Livermore National Laboratory, UCRL-MI-133316

Table of Contents

  1. Abstract
  2. Introduction
  3. OpenMP Programming Model
  4. OpenMP API Overview
  5. Compiling OpenMP Programs
  6. OpenMP Directives
    1. Fortran Directive Format
    2. C/C++ Directive Format
    3. Directive Scoping
    4. PARALLEL Construct
    5. Exercise 1
    6. Work-Sharing Constructs
      1. DO / for Directive
      2. SECTIONS Directive
      3. WORKSHARE Directive
      4. SINGLE Directive
    7. Combined Parallel Work-Sharing Constructs
    8. TASK Construct
    9. Exercise 2
    10. Synchronization Constructs
      1. MASTER Directive
      2. CRITICAL Directive
      3. BARRIER Directive
      4. TASKWAIT Directive
      5. ATOMIC Directive
      6. FLUSH Directive
      7. ORDERED Directive
    11. THREADPRIVATE Directive
    12. Data Scope Attribute Clauses
      1. PRIVATE Clause
      2. SHARED Clause
      3. DEFAULT Clause
      4. FIRSTPRIVATE Clause
      5. LASTPRIVATE Clause
      6. COPYIN Clause
      7. COPYPRIVATE Clause
      8. REDUCTION Clause
    13. Clauses/Directives Summary
    14. Directive Binding and Nesting Rules
  7. Run-Time Library Routines
  8. Environment Variables
  9. Thread Stack Size and Thread Binding
  10. Monitoring, Debugging and Performance Analysis Tools for OpenMP
  11. Exercise 3
  12. References and More Information
  13. Appendix A: Run-Time Library Routines

Once you have finished the tutorial, please complete our evaluation form!