4.6 Directive Recognition Switches

The following sections explains the function of each directive recognition switch.

4.6.1 -directives, -dr, (-directives=akpv), -nodirectives, -ndr

The -directives switch tells KAP which directives to accept. KAP directives and assertions use the following syntax:


C*$* key word(s)
C*$* key word(s) (argument)
C*$* assert key word(s) (argument)

Directives work regardless of whether the initial C precedes the string.

The -directives switches are as follows:


a - KAP assertions
k - KAP C*$* directives
p - KAP Parallel Computing Forum directives
v - VAST cvd$ directives

The KAP directives are described in Chapter 5. The Parallel Computing Forum directives are described in Chapter 3. KAP assertions are described in Chapter 6.

For example, -directives=k enables KAP directives only, whereas -directives=ka enables both KAP directives and assertions. Any combination of the previous three switches is acceptable. To disable all of the choices, enter -nodirectives on the command line.

KAP assertions are similar in form to directives, but they assert program characteristics that KAP may use in its optimizations. (See Chapter 6.) The acceptance of assertions can also be controlled with the C*$* assertions and C*$* noassertions directives.


Previous Page | Next Page | Contents | Index |
Command Line Switches