Polaris may use KAP as a Fortran scanner by simply setting the Polaris switch ``kap_scanner'' to ``1''. This will replace the normal Polaris scanner with KAP. In this mode, KAP will do nothing but serve as a scanner - it would not try to optimize the program.
KAP may also be used as a stand-alone restructurer whose data structures may be transfered to Polaris via a file containing Polaris Exchange Format (PEF) data. This file may be read into Polaris via . . . ???.
The current version of KAP/Polaris is version ``k220203''. It may be found in sp51:/user2/polaris/kap.
The following are Polaris-specific command line switches for KAP:
Examples:
kap sample1.f -cust=pefoutput The above command will produce the ASCII version of the Polaris Exchange Format in the file sample1.cmp.
kap sample1.f -customer=pefoutput,binary -cmp=sample1.pef The above command will produce the binary version of the Polaris Exchange Format in the file sample1.pef.