Intel® Fortran Compiler 16.0 User and Reference Guide

SHARED Clause

Parallel Directive Clause: Specifies variables that will be shared by all the threads in a team.

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.