Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

STOPPED_IMAGES

Transformational Intrinsic Function (Generic): Returns an array of index images that have initiated normal termination.

result = STOPPED_IMAGES ([team, kind])

team

(Input; optional) Must be a scalar of type TEAM_TYPE defined in the intrinsic module ISO_FORTRAN_ENV whose value represents the current or an ancestor team. If not present, the current team is assumed.

kind

(Input; optional) Must be a scalar integer expression with a value that is a valid INTEGER kind type parameter.

Results

The result is a rank-one integer array with the same type kind parameters as kind if present; otherwise, default integer. The size of the array is equal to the number of images in the specified team that have initiated normal termination.

The result array elements are the image index values of images on the specified team that have initiated normal termination. The indices are arranged in increasing numeric order.

Example

If image 5 and 12 of the current team have initiated normal termination, the result of STOPPED_IMAGES ( ) is an array of default integer type with size 2 defined with the value [5, 12]. If no images in the current team are known to have failed, the result of STOPPED_IMAGES ( ) is a zero-sized array.