Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-DAAD8C9A-18F5-4E87-BE98-C399E4AA71BD
Visible to Intel only — GUID: GUID-DAAD8C9A-18F5-4E87-BE98-C399E4AA71BD
SHARED Clause
Parallel Directive Clause: Specifies variables that will be shared by all the threads in a team.
Syntax
SHARED (list)
list |
Is the name of one or more variables or common blocks that are accessible to the scoping unit. Subobjects cannot be specified. Each name must be separated by a comma, and a named common block must appear between slashes (/ /). |
All threads within a team access the same storage area for SHARED data.