The value of smallest element in the array is written to *val. The global subscripts of the first occurrence of this element are written to the vector pos. If the minimum value occurs more than once in the array, ``first occurence'' is defined by ordering the set of global subscripts with first subscript least significant (Fortran-like array-element ordering).
The result values written to *val and pos are broadcast to all members of the active process group.