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.

defined in the character expression. The character expression and object can have differentlengths. When object is longer than the character expression trailing blanks are added to the object;and if object is shorter than the character expression the right-hand characters of the characterexpression are truncated as necessary.In the following example, note that all the variables and arrays are assumed to be of type character.FILE = 'BOOKS'PLOT(3:8) = 'PLANTS'TEXT(I,K+1)(2:B-1) = TITLE//X1.10 Listing ControlsThe <strong>PGI</strong> Fortran compilers recognize three compiler directives that affect the program listingprocess:%LIST%NOLISTTurns on the listing process beginning at the following source co<strong>del</strong>ine.Turns off the listing process (including the %NOLIST line itself).%EJECT Causes a new listing page to be started.These directives have an effect only when the –Mlist option is used. All of the directives mustbegin in column one.1.11 OpenMP DirectivesOpenMP directives in a Fortran program provide information that allows the PGF77 and PGF95compilers to generate executable programs that use multiple threads and processors on a sharedmemoryparallel (SMP) computer system. An OpenMP directive may have any of the followingforms:!$OMPC$OMP*$OMPdirectivedirectivedirectiveA complete list and specifications of OpenMP directives supported by the PGF77 and PGF95compilers, along with descriptions of the related OpenMP runtime library routines, can be found inChapter 8, OpenMP Directives for Fortran.28 Chapter 1

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

Saved successfully!

Ooh no, something went wrong!