next up previous
Next: MPI and SHMEM Library Up: Instrumentation Previous: Preprocessor-Based Memory Instrumentation

OpenMP Instrumentation

TAU can also invoke an OpenMP directive re-writing tool such as Opari[12] 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.



Scott Biersdorff 2006-05-05