Any input file name is valid. If the file name does not have
an extension, the extension .f
is assumed. As KAP
processes a Fortran file, it generates four output files -
the optimized program file, the optional listing file, and the
executable file.
The default output file names are as follows:
<file>_cmp.f
- the optimized Fortran program
from the kfort
driver
<file>.cmp
- the optimized Fortran program from
kapf
<file>.out
- the annotated KAP listing file
<file>.obj
- the object file
<file>.exe
- the executable file
Other output file names can be specified with the /cmp
and /list
qualifiers.
When KAP detects an error condition, KAP writes a message to standard error.