5.7.1 /cmp, (<file>.cmp.f), (<file>.cmp.f), /nocmp, /ncmp

The /cmp qualifier causes KAP to save the optimized source program under the file name of your choice. By default kfort names the optimized source the same name as the input file with an extension determined by the input file extension, as follows:
File Extension of Input  File Extension of Transformed Source 
.f90  .cmp.f90 
.f, .for, .FOR  .cmp.f 

The kapf default is to name the optimized source the same name as the input file with the extension .cmp , regardless of the input file extension. Because the Fortran compiler will not process a file with the default .cmp extension, you should override the default. For example, use the /cmp switch in the kapf command line to rename the optimized source file_name.cmp.f90 . See the examples in Section 2.8.

Both kfort and kapf place the optimized source file in the current directory.

To disable generation of the optimized Fortran output file, enter /nocmp on the command line.


Previous Page | Next Page | Contents | Index |
Command-Line Qualifiers

Copyright © Digital Equipment Corporation. 1999. All Rights Reserved.