tau_ompcheck(1)

tau_ompcheck1

Completes uncompleted do/for/parallel omp directives

Usage

tau_ompcheck pdbfile sourcefile [-o outfile] [-v] [-d]

Overview

Finds uncompleted do/for omp directives and inserts closing directives for each one uncompleted. do/for directives are expected immediately before a do/for loop. Closing directives are then placed immediately following the same do/for loop.

Options

pdbfile A pdbfile generated from the source file you wish to check. This pdbfile must contain comments from which the omp directives are gathered. See pdbcomment for information on how to obtain comment from a pdbfile.

sourcefile A fortran, C or C++ source file to analyzed.

-o write the output to the specified outfile.

-vverbose output, will say which directive where added.

-d debuging information, we suggest you pipe this unrestrained output to a file.

Examples

To check file: source.f90 do: (you will need pdtoolkit/<arch>/bin and tau/utils/ in your path).

%>f95parse source.f90
%>pdbcomment source.pdb > source.comment.pdb
%>tau_omp source.comment.pdb source.f90 -o source.chk.f90

Releases

5 releases since Debian 4.0 (Etch); the text changed 1 time.

  1. 4.0–7
  2. 8–9

From tau 2.17.3.1.dfsg-4.2 in Debian 9 (Stretch). Parsed by carta from the page's man source.