3.3 Combined Automatic and Directed Parallelization Using the kfort Driver

Use a combination of automatic and directed parallelization on a large program where you want to control parallization of a small number of loops, but you want KAP to control parallelization of the remaining loops.

To cause KAP to perform both automatic and directed parallelization, use the /concurrentize qualifier and the correct compiler and linker qualifiers on the kfort command line.

Insert PCF directives around those loops you want to parallelize explicitly. KAP does directed parallelization on the loops enclosed with PCF directives and automatic parallelization on the remaining program.

In the following command line example, myprog_pcf.f contains PCF directives:

kfort /fkapargs=(/conc) myprog_pcf.f


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