JavaSolarisCommunitiesAbout SunHow to BuyMy AccountCartUnited StatesWorldwide
Sun Microsystems Documentation
docs.sun.com
Browse Documentation Titles
Browse Product Documentation
Help

Parallelization Options by Language

C Parallelization Options

Option Meaning
-mt Indicates compilation and linking for multithreaded code.
-xautopar Turns on automatic parallelization for multiple processors.
-xcheck Enables a runtime check for stack overflow.
-xdepend Analyzes loops for inter-iteration data dependencies and performs loop restructuring.
-xexplicitpar Parallelizes the loops that are specified.
-xloopinfo Shows which loops are parallelized and which are not.
-xopenmp Enable explicit parallelization with OpenMP directives.
-xparallel Parallelizes loops both automatically (by the compiler) and explicitly (as specified by the programmer).
-xreduction Analyzes loops for reduction in automatic parallelization.
-xsafe Allows the compiler to assume that no memory protection violations occur.
-xthreadvar Works in conjunction with the __thread declaration specifier to take advantage of the compiler's thread-local storage facility.
-xvpara Show parallelization warning messages.
-Zll Creates the program database for lock_lint, but does not generate executable code.

C++ Parallelization Options

Option Meaning
-mt Indicates compilation and linking for multithreaded code.
-xautopar Turns on automatic parallelization for multiple processors.
-xcheck Enables a runtime check for stack overflow.
-xdepend Analyzes loops for inter-iteration data dependencies and performs loop restructuring.
-xopenmp Enable explicit parallelization with OpenMP directives.
-xsafe Allows the compiler to assume that no memory protection violations occur.
-xthreadvar Works in conjunction with the __thread declaration specifier to take advantage of the compiler's thread-local storage facility.

F95 Parallelization Options

Option Meaning
-mt Indicates compilation and linking for multithreaded code.
-openmp Enable explicit parallelization with Fortran 95 OpenMP version 2.5 directives.
-xautopar Turns on automatic parallelization for multiple processors.
-xcheck Enables a runtime check for stack overflow.
-xdepend Analyzes loops for inter-iteration data dependencies and performs loop restructuring.
-xexplicitpar Parallelizes the loops that are specified.
-xloopinfo Shows which loops are parallelized and which are not.
-xopenmp Enable explicit parallelization with OpenMP directives.
-xparallel Parallelizes loops both automatically (by the compiler) and explicitly (as specified by the programmer).
-xreduction Analyzes loops for reduction in automatic parallelization.
-xsafe Allows the compiler to assume that no memory protection violations occur.

ContactAbout SunNewsEmploymentSite MapPrivacyTerms of UseTrademarksCopyright Sun Microsystems, Inc.