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.

TypeSpecificationDefaultThe default PGHPF alignment specifies that a data object is replicated across all processormemories. For example, for an array RAY1 with a single dimension and a template T withmatching size and shape, the following alignment specifies replication when T is distributed in anymanner across processors.!HPF$!HPF$ALIGN RAY1(*) WITH T(*)DISTRIBUTE T(BLOCK)See AlsoFor details on the ALIGN syntax specifications, refer either to section 4.5 of The HighPerformance Fortran Handbook, or section 3.4 of the HPF Language Specification.Example!HPF$!HPF$!HPF$!HPF$PROGRAM TESTINTEGER A(1000)PROCESSORS PROC(10)TEMPLATE T(1000)ALIGN A(:) WITH T(:)DISTRIBUTE (BLOCK) ONTO PROC:: TDIMENSIONThe DIMENSION attribute specifies the dimensions and extents for each dimension of aTEMPLATE or PROCESSORS directive.SyntaxTypeSpecification!HPF$ DIMENSION ( explicit-shape-spec-list )DefaultThe default for a TEMPLATE or PROCESSORS arrangement is a scalar.308 Chapter 9

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

Saved successfully!

Ooh no, something went wrong!