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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1.12 HPF DirectivesHPF directives in a Fortran program provide information that allows the PGHPF compiler toexplicitly create data distributions from which parallelism can be derived. An HPF directive mayhave any of the following forms:CHPF$ directive!HPF$ directive*HPF$ directiveSince HPF supports two source forms, fixed source form and free source form, there are a varietyof methods to enter a directive. The C, !, or * must be in column 1 for fixed source form directives.In free source form, Fortran limits the comment character to !. If you use the !HPF$ form for thedirective origin, your code will be universally valid. The body of the directive may immediatelyfollow the directive origin. Alternatively, any number of blanks may precede the HPF directive.Any names in the body of the directive, including the directive name, may not contain embeddedblanks. Blanks may surround any special characters, such as a comma or an equals sign.The directive name, including the directive origin, may contain upper or lower case letters (case isnot significant). A complete list and specifications of HPF directives supported by the PGHPFcompiler can be found in Chapter 9, HPF Directives.Language Overview 29

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

Saved successfully!

Ooh no, something went wrong!