3.6 Running a Parallel Program

To run a parallel program compiled by KAP on an SMP system, you must set the following environment variables:


Note
A program optimized to run with multiple threads may run more slowly as a single-thread process. There are two ways you can compile a program as a single-threaded process:

  1. kf77 -fkapargs='-conc' myprog.f setenv PARALLEL 1

  2. kf77 -fkapargs='-noconc' myprog.f
Either way may result in a performance increase or decrease of as much as 30% depending on your program.


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

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