S3L_reduce_axis accepts the following arguments as input:
a - S3L array handle for the parallel array on which the operation will be applied.
op - Predefined constant specifying the operation to be applied.
axis - Specifies the axis along which the reduction will be performed. When S3L_reduce_axis is called from a C program, this value must reflect zero-based indexing of the array axes. If called from a Fortran program, it must reflect one-based indexing.