IMAGE_STATUS intrinsic function

Standard: F77 F90 F95 F2003 F2008 F2018 Example program



IMAGE : Integer with positive value less than or equal to the number of images in the specified team;
TEAM : scalar of type TEAM_TYPE from the intrinsic module ISO_FORTRAN_ENV, whose value must identify the current team or an ancestor team;

Result: Default Integer.


Returns the status of images in the specified team. The status for an image that has failed is STAT_FAILED_IMAGE, for an image that has stopped is STAT_STOPPED_IMAGE, and for an image that is active is zero.

Like many intrinsic functions, this is elemental; the result has the same shape as IMAGE, with the operation being applied elementwise. If was returned for an operation with the specified team, the size will be non-zero.

If TEAM is absent, the specified team is the current team.


FAIL IMAGE statement, FAILED_IMAGES intrinsic function, FORM TEAM statement, STOP statement, STOPPED_IMAGES intrinsic function