Skip to main content
Top

2019 | OriginalPaper | Chapter

3. Basics of OpenMP Programming

Author : Takahiro Katagiri

Published in: The Art of High Performance Computing for Computational Science, Vol. 1

Publisher: Springer Singapore

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

This chapter explains the basics of OpenMP programming, which is widely used in parallel programming language for thread parallelization with inside node parallelism. Specifications of major constructs and clauses for OpenMP are explained with several examples of programming. Scheduling, which is a job allocation method for OpenMP, is also explained. Code optimization techniques for OpenMP, named First Touch, is also shown. Finally, the possibility of extension to Graphics Processing Unit (GPU) from programming with OpenMP is explained with OpenMP version 4.0 and OpenACC.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Footnotes
1
An exception is the loop that occurs just after the parallel do construct. The loop induction variable in the loop becomes a private variable automatically. Some compilers provide automatic variable privatization of loop induction variables, but this is against the specification of OpenMP. Hence, the readers need to realize that the variable privatization is a compiler specific process.
 
Metadata
Title
Basics of OpenMP Programming
Author
Takahiro Katagiri
Copyright Year
2019
Publisher
Springer Singapore
DOI
https://doi.org/10.1007/978-981-13-6194-4_3

Premium Partner