12.07.2015 Views

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ALL1is an allocatable COMMON block whose members are A, B, and C.ALL2is an allocatable COMMON block whose members are AA, and BB.STATis a statically-allocated COMMON block whose only member is D.A reference to a member of an allocatable COMMON block appears in a Fortran statement justlike a member of a normal (static) COMMON block. No special syntax is required to accessmembers of allocatable common blocks. For example, using the above declarations, the followingis a valid pgf77 statement:AA = B * DCOMPLEX 90The COMPLEX statement establishes the data type of a variable by explicitly attaching the nameof a variable to a complex data type. This overrides the implication of data typing by the initialletter of a symbolic name.SyntaxThe syntax for COMPLEX has two forms, the standard Fortran form and the <strong>PGI</strong> extended form.This section describes both syntax forms.COMPLEX [ ( [ KIND =] kind-value ) ] [, attribute-list ::] entity-listCOMPLEX permits a KIND specification. Refer to the Fortran 95 Handbook for more syntaxdetails.attribute-listentity-listis the list of attributes for the character variable.is the list of defined entities.Syntax Extension §COMPLEX name [*n] [dimensions] [/clist/] [, name] [/clist/] ...68 Chapter 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!