triqs::gfs::mpi_reduce¶
#include <triqs/gfs.hpp>
Synopsis
template<typename V, typename T> template<typename V, typename T> template<typename V, typename T> template<typename V, typename T> template<typename V, typename T> template<typename V, typename T>mpi_lazy<tag::reduce, block2_gf_const_view<V, T> > mpi_reduce (block2_gf_const_view<V, T> const & a,
Documentation
1) Initiate (lazy) MPI Reduce
When the returned object is used at the RHS of operator = or in a constructor of a gf, the MPI Reduce operation is performed.2) Initiate (lazy) MPI Reduce
When the returned object is used at the RHS of operator = or in a constructor of a gf, the MPI Reduce operation is performed.3) Initiate (lazy) MPI Reduce
When the returned object is used at the RHS of operator = or in a constructor of a gf, the MPI Reduce operation is performed.4) Initiate (lazy) MPI Reduce
When the returned object is used at the RHS of operator = or in a constructor of a gf, the MPI Reduce operation is performed.5) Initiate (lazy) MPI Reduce
When the returned object is used at the RHS of operator = or in a constructor of a gf, the MPI Reduce operation is performed.6) Initiate (lazy) MPI Reduce
When the returned object is used at the RHS of operator = or in a constructor of a gf, the MPI Reduce operation is performed.
Parameters¶
- g The Green function
- c The MPI communicator (default is world)
- root The root of the broadcast communication in the MPI sense.
Returns¶
Returns a lazy object describing the object and the MPI operation to be performed.