8.2.25. _gfortran_caf_co_max

8.2.25 _gfortran_caf_co_max — Collective maximum reduction

Description:
Calculates the for the each array element of the variable a the maximum value for that element in the current team; if result_image has the value 0, the result shall be stored on all images, otherwise, only on the specified image. This function operates on numeric values and character strings.
Syntax:
void _gfortran_caf_co_max (gfc_descriptor_t *a, int result_image, int *stat, char *errmsg, int a_len, int errmsg_len)
Arguments:
a intent(inout) And array descriptor with the data to be breoadcasted (on source_image) or to be received (other images).
result_image The ID of the i