tau_ompcheck — Completes uncompleted do/for/parallel omp directives
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.
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.
A fortran, C or C++ source file to analyzed.
write the output to the specified outfile.
-vverbose output, will say which directive where added.
debuging information, we suggest you pipe this unrestrained output to a file.
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