Fortran User's Guide

-parallel

Parallelize loops with: -autopar, -explicitpar, -depend

    SPARC: 77/90

Parallelize loops chosen automatically by the compiler and explicitly specified by user supplied directives. Optimization level is automatically raised to -O3 if it is lower.

-g cancels -parallel. Debugging is facilitated by specifying -g without any optimization or parallelization options since not all debugging features are available when these options are invoked. See the dbx documentation for details.

To improve performance, also specify the -stackvar option when using any of the parallelization options, including -autopar.

Avoid -parallel if you do your own thread management. See the discussion of -mt on "-mt".

Parallelization options like -parallel are intended to produce executables programs to be run on multiprocessor systems. On a single-processor system, parallelization generally degrades performance.

If you compile and link in separate steps, if -parallel appears on the compile command it must also appear on the ld link command.

See the Fortran Programming Guide chapter Parallelization for further information.