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.

ALIGN - REALIGNThe ALIGN directive specifies how data objects are mapped in relation to other data objects. Thedata objects that are most often aligned in HPF programs are arrays. Alignment suggests to thecompiler that entire objects or elements of arrays be stored on the same processor. Operations onobjects that are aligned should be more efficient than operations on objects that are not aligned,assuming that objects that are not aligned may reside on different processors.REALIGN is similar to ALIGN, but is executable. An array can be realigned at any time, if it isdeclared using the DYNAMIC attribute.Syntaxorwhere:!HPF$ ALIGN alignee align-directive-stuff!HPF$ ALIGN align-attribute-stuff :: alignee-listaligneealign-directive-stuffis an object-name.is (align-source-list) align -with-clausealign-attribute-stuff is [(align-source-list)] align -with-clauseEach align-source has the form::*align-dummyEach align-with-clause has the form:WITH align-target [ ( align-subscript-list) ]An align-subscript has the form:int-expalign-subscript-usesubscript-triplet*HPF Directives 307

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

Saved successfully!

Ooh no, something went wrong!