ABSTRACT

In a coarray environment, a single program is replicated in the processors participating in a particular computation. The coarray may be a scalar or a dimensioned quantity. This extension, coarray, and uses a programming model called “single program, multiple data”. When the images cross the barrier, the coarray 'a' has been set to the correct value in different images. The intrinsic takes two arguments: coarray and an optional variable integer variable kind. The intrinsic returns an integer array of rank 1 of size equal to the corank of the coarray. When the replicated code is being executed by the processors simultaneously, there may be a time difference in arriving at a particular point of the code by different images. When the execution of a code containing a coarray begins, all the images start executing the code at the same time. Execution of the error stop statement causes all the images to be terminated abnormally as soon as possible.