triqs::stat::histogram::mpi_reduce
#include <triqs/stat.hpp>
Synopsis
MPI-reduce histogram. The only supported reduction operation is MPI_SUM, which is equivalent to operator+().
Parameters
h Histogram subject to reduction
c MPI communicator object
root MPI root rank for MPI reduction
all Send reduction result to all ranks in c?
op Reduction operation, must be MPI_SUM
Returns
Reduction result; valid only on MPI rank 0 if all = false