I have a distributed boost::numeric::ublas::vector distributed_boost_vector and i would like to gather in the root processor the whole distributed boost vector. I am trying to use the function:
template<typename T>
void gather(const communicator & comm, const T & in_value, T * out_values,
int root);
writing
boost::mpi::gather<boost::numeric::ublas::vector<double> >
(boost_comm, distributed_boost_vector, all_boost_vector, 0);
where all_boost_vector is a boost::numeric::ublas::vector
I receive "no matching function for call" error in compilation, why?