Executing the schedule adds together all elements of the array in an unspecified order. The result value, written to *res, is broadcast to all members of the active process group.