Next: MPI and SHMEM Library
Previous: Preprocessor-Based Memory Instrumentation
TAU can also invoke an OpenMP directive re-writing tool such as Opari to re-write the OpenMP directives and insert hooks in the program prior to instrumentation. Opari relies on a fuzzy parser and has some restrictions such as requiring OpenMP end directives to be placed at the appropriate locations in the source code. To help this instrumentation process, we have developed the tau_ompcheck tool that examines the locations of loops using PDT and inserts the missing OpenMP directives and helps the Opari tool in instrumenting the source.