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.

Example!HPF$!HPF$!HPF$!HPF$REAL A(100,100)PROCESSORS PROC(10,10)TEMPLATE T(10,10)ALIGN WITH T:: ADISTRIBUTE (BLOCK,BLOCK) ONTO PROC:: TINDEPENDENTThe INDEPENDENT directive specifies that the iterations of a DO loop, or the computations forthe active index values of a FORALL, do not interfere with each other in any way. Refer to thePGHPF Release notes for details on extensions to the INDEPENDENT directive.SyntaxTypeExecutable!HPF$ INDEPENDENT [, NEW ( variable-list ) ]DefaultBy default, DO and FORALL statements are not independent.See AlsoFor details on the INDEPENDENT syntax specifications, refer either to Section 6.4 of The HighPerformance Fortran Handbook, or Section 4.4 of the HPF Language Specification. Also refer tothe PGHPF Release notes for details on extensions to the INDEPENDENT directive.Example!HPF$INDEPENDENTDO I = 2, N-1X(I) = Y(I-1) + Y(I) + Y(I+1)END DOINHERITThe INHERIT directive specifies that the template for a dummy argument should be the same asthe template for the corresponding actual argument.HPF Directives 311

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

Saved successfully!

Ooh no, something went wrong!