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.

1.1.2 Free and Fixed SourceFortran permits two types of source formatting, fixed source form and free source form. Fixedsource form uses the traditional Fortran approach where specific column positions are reserved forlabels, continuation characters, and statements and blank characters are ignored. The PGF77compiler supports only fixed source form. The PGF77 compiler also supports a less restrictivevariety of fixed source form called tab source form. Free source form introduced with Fortran 90places few restrictions on source formatting; the context of an element, as well as the position ofblanks, or tabs, separate logical tokens. Using the compiler option –Mfreeform you can select freesource form as an option to PGF95 or PGHPF.1.1.3 Statement OrderingThe rules defining the order in which statements appear in a program unit have been relaxed, ascompared to the ANSI standard, as follows:• DATA statements can be freely interspersed with PARAMETER statements and otherspecification statements.• NAMELIST statements are supported and have the same order requirements asFORMAT and ENTRY statements.• The IMPLICIT NONE statement can precede other IMPLICIT statements.Language Overview 13

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

Saved successfully!

Ooh no, something went wrong!