12 #ifndef ALPS_UTILITIES_MPI_OPTIONAL_HPP_INCLUDED_765ecb98a17c4ace9754b3d3b1c1f567 13 #define ALPS_UTILITIES_MPI_OPTIONAL_HPP_INCLUDED_765ecb98a17c4ace9754b3d3b1c1f567 16 #include <boost/optional.hpp> 27 bool is_root=(comm.
rank()==root);
Header for object-oriented interface to MPI (similar to boost::mpi)
Encapsulation of an MPI communicator and some communicator-related operations.
int rank() const
Returns process rank in this communicator.
void broadcast(const communicator &comm, T *vals, std::size_t count, int root)
Broadcasts array vals of a primitive type T, length count on communicator comm with root root ...