p4 provides a number of collective operations, particularly useful in the distributed-memory model. p4_global_op takes as one of its arguments an operation to be performed on distributed data. It is thus relatively easy to expand the set of collective operations. Currently supplied are maximum, minimum, absolute-value-maximum, absolute-value-minimum, sum, and product. Each operates on a vector of integers, floats, or doubles.