If an array is not explicitly distributed it is given the default mapping. This is often, but not always, replication. It is often prudent to explicitly replicate objects if this is what is desired.
To force replication of an array, A:
For example,
REAL, DIMENSION(100,100) :: A !HPF$ PROCESSORS, DIMENSION(NUMBER_OF_PROCESSORS()) :: P !HPF$ TEMPLATE, DIMENSION(NUMBER_OF_PROCESSORS()) :: T !HPF$ ALIGN A(*,*) WITH T(*) !HPF$ DISTRIBUTE (BLOCK) :: T
Return to corresponding overview page