next up previous contents
Next: PHYSICAL_TO_ABSTRACT(ARRAYPROC, INDEX) Up: HPF Local Routine Library Previous: ABSTRACT_TO_PHYSICAL(ARRAYINDEX, PROC)

ABSTRACT_TO_PHYSICAL(ARRAY, INDEX, PROC)

Description. Returns processor identification for the physical processor associated with a specified abstract processor relative to a global actual argument array.

Class. Subroutine.

Arguments.

ARRAY may be of any type; it must be a dummy array that is associated with a global HPF array actual argument. It is an INTENT(IN) argument.

INDEX must be a rank-1 integer array containing the coordinates of an abstract processor in the processors arrangement onto which the global HPF array is mapped. It is an INTENT(IN) argument. The size of INDEX must equal the rank of the processors arrangement. The value of the ith element must be in the range 1 to ei, where ei is the extent of the ith dimension of the processors arrangement.

PROC must be scalar and of type integer. It is an INTENT(OUT) argument. It receives the identifying value for the physical processor associated with the abstract processor specified by INDEX.