Supporting Nested OpenMP Parallelism in the TAU Performance System

Author: Morris Alan   Malony Allen   Shende Sameer  

Publisher: Springer Publishing Company

ISSN: 0885-7458

Source: International Journal of Parallel Programming, Vol.35, Iss.4, 2007-08, pp. : 417-436

Disclaimer: Any content in publications that violate the sovereignty, the constitution or regulations of the PRC is not accepted or approved by CNPIEC.

Previous Menu Next

Abstract

Nested OpenMP parallelism allows an application to spawn teams of nested threads. This hierarchical nature of thread creation and usage poses problems for performance measurement tools that must determine thread context to properly maintain per-thread performance data. In this paper we describe the problem and a novel solution for identifying threads uniquely. Our approach has been implemented in the TAU performance system and has been successfully used in profiling and tracing OpenMP applications with nested parallelism. We also describe how extensions to the OpenMP standard can help tool developers uniquely identify threads.

Related content