next up previous contents
Next: Specifications of Library Procedures Up: Specifications of Intrinsic Procedures Previous: PROCESSORS_SHAPE()

PROCESSORS_SHAPE()

Description. Returns the shape of the implementation-dependent processor array.

Class. System inquiry function.

Arguments. None

Result Type, Type Parameter, and Shape. The result is a default integer array of rank one whose size is equal to the rank of the implementation-dependent processor array.

Result Value. The value of the result is the shape of the implementation-dependent processor array.

Example. In a computer with 2048 processors arranged in a hypercube, the value of PROCESSORS_SHAPE() is [2,2,2,2,2,2,2,2,2,2,2]. In a computer with 8192 processors arranged in a 128 by 64 rectangular grid, the value of PROCESSORS_SHAPE() is [128,64]. For a single processor workstation, the value of PROCESSORS_SHAPE() is [] (the size-zero array of rank one).