Generic maxval routine for an array of integer or double (maxval between different arrays given on each processor) More...