If you formerly used Cray autotasking to perform parallel decomposition, you can substitute KAP PCF directives, as shown in Table 3-1.
| KAP Parallel Computing Forum | Cray Autotasking |
|---|---|
| Specifying Regions of Parallel Execution | |
| C*KAP* PARALLEL REGION | CMIC$ PARALLEL |
| C*KAP* END PARALLEL REGION | CMIC$ END PARALLEL |
| Specifying Parallel Loops | |
| C*KAP* PARALLEL DO | CMIC$ DO PARALLEL |
| End defined by loop scope | CMIC$ END DO |
| Specifying Synchronized Code Sections | |
| C*KAP* CRITICAL SECTION | CMIC$ GUARD |
| End defined by loop scope | CMIC$ END GUARD |
| C*KAP* ONE PROCESSOR SECTION | |
| C*KAP* END ONE PROCESSOR SECTION | |
| Specifying Code Sections for Parallel Execution | |
| Equivalent coded with PARALLEL DO | CMIC$ END CASE |
| Controlling Subroutines Called Within Parallel Regions | |
| C*$* ASSERT CONCURRENT CALL | CMIC$ CONTINUE |
| Unstructured Exits from Parallel Region | |
| Not available currently | CMIC$ SOFT EXIT |
| Equivalent coded with PARALLEL REGION with one loop optimization performed by KAP | CMIC$ DO ALL (End defined by loop.) |