cleanpdf

Purpose

Removes all PDF files or the specified PDF files, including PDF files with process ID suffixes. Removing profiling information reduces runtime overhead if you change the program and then go through the PDF process again.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-cleanpdf--+--------+--+-----+--+--------------+-------------><
             '-pdfdir-'  '- -u-'  '- -f--pdfname-'   

Parameters

pdfdir
Specifies the directory that contains the PDF files to be removed. If pdfdir is not specified, the directory is set by the PDFDIR environment variable; if PDFDIR is not set, the directory is the current directory.
-f pdfname
Specifies the name of the PDF file to be removed. If -f pdfname is not specified, .<output_name>_pdf is removed by default, where <output_name> is the name of the output file that is generated when you compile your program with -qpdf1.
-u
If -f pdfname is specified, in addition to the file removed by -f, files with the naming convention pdfname.<pid>, if applicable, are also removed. <pid> is the ID of the running process in the PDF training step.

If -f pdfname is not specified, removes the default PDF file .<output_name>_pdf. If applicable, files with the default naming convention .<output_name>_pdf.<pid> are also removed.

Usage

Run cleanpdf only when you finish the PDF process for a particular application. Otherwise, if you want to resume by using PDF process with that application, you must compile all of the files again with -qpdf1.

You can find cleanpdf in /opt/ibm/xlC/16.1.0/bin/.



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us