Common mistakes in OpenMP and how to avoid them: a collection of best practices

  • Authors:
  • Michael Süß;Claudia Leopold

  • Affiliations:
  • University of Kassel, Research Group Programming Languages / Methodologies, Kassel, Germany;University of Kassel, Research Group Programming Languages / Methodologies, Kassel, Germany

  • Venue:
  • IWOMP'05/IWOMP'06 Proceedings of the 2005 and 2006 international conference on OpenMP shared memory parallel programming
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Few data are available on common mistakes made when using OpenMP. This paper presents a study on the programming errors observed in our courses on parallel programming during the last two years, along with numbers on which compilers and tools were able to spot them. The mistakes are explained and best practices for programmers are suggested to avoid them in the future. The best practices are presented in the form of an OpenMP checklist for novice programmers.