From: John P. <jwp...@gm...> - 2018-06-27 22:01:05
|
On Wed, Jun 27, 2018 at 3:58 PM, Renato Poli <re...@gm...> wrote: > Hi, > > I need to evaluate the "greatest" value of a vector that is created in > parallel. It is a matter of iterating over all the local elements and > calculate the parts of this distributed vector. > > What is the best way to syncronize this vector to all processors - so they > can have the whole set of data and can find out the "greatest" value? Any > example to suggest? > Are you using NumericVector? It has a max() member. -- John |