On 14 Oct 2013, at 10:53, MM <finjulhich@gmail.com> wrote:HelloIn a problem of getting the maximum of a multi-variable function, I would use mpi::reduce and provide it with a function object that compares the evaluations of this function.Each process evaluates a part of the space, ie a number of n-tuples of the n-dimension space.How do I get the n-tuple that yields the max of f(), given that MPI_MAXLOC is not available in boost mpi?ThanksMMHi MM,you can just provide your own function object to the boost::mpi::reduce functionMatthias
_______________________________________________
Boost-mpi mailing list
Boost-mpi@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-mpi