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.

Using the –I command-line option directories can be added to the search path for .mod files.ExampleMODULE MYOWNREAL MEAN, TOTALINTEGER, ALLOCATABLE, DIMENSION(:):: ACONTAINSRECURSIVE INTEGER FUNCTION X(Y)...END FUNCTION XEND MODULE MYOWNNAMELIST 90The NAMELIST statement allows for the definition of namelist groups for namelist-directed I/O.SyntaxNAMELIST /group-name/ namelist [[,] /group-name/ namelist ]...group-namenamelistis the name of the namelist group.is the list of variables in the namelist group.ExampleIn the following example a named group PERS consists of a name, an account, and a value.CHARACTER*12 NAMEINTEGER*$ ACCOUNTREAL*4 VALUENAMELIST /PERS/ NAME, ACCOUNT, VALUENULLIFY 90The NULLIFY statement disassociates a pointer from its target.SyntaxNULLIFY (pointer-object-list)112 Chapter 3

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

Saved successfully!

Ooh no, something went wrong!