Intel® Fortran Compiler 16.0 User and Reference Guide
Enables dynamic allocation of common blocks at run time.
Linux and OS X: | -dyncom "common1,common2,..." |
Windows: | /Qdyncom "common1,common2,..." |
common1,common2,... |
Are the names of the common blocks to be dynamically allocated. The list of names must be within quotes. |
OFF |
Common blocks are not dynamically allocated at run time. |
This option enables dynamic allocation of the specified common blocks at run time. For example, to enable dynamic allocation of common blocks a, b, and c at run time, use this syntax:
/Qdyncom "a,b,c" ! on Windows systems
-dyncom "a,b,c" ! on Linux and OS X systems
The following are some limitations that you should be aware of when using this option:
An entity in a dynamic common cannot be initialized in a DATA statement.
Only named common blocks can be designated as dynamic COMMON.
An entity in a dynamic common block must not be used in an EQUIVALENCE expression with an entity in a static common block or a DATA-initialized variable.
Visual Studio: Data > Dynamic Common Blocks
Eclipse: None
Xcode: Data > Dynamic Common Blocks
None