On Sun, 19 Sep 2010, David Knezevic wrote:

> Speaking of enrich_RB_space, lines 364 to 386 find which proc had the max 
> value, do you know of an easier way to do that? Perhaps a Parallel::max() 
> operation that also returns a proc ID would be a good addition?

Agreed.  I just added Parallel::maxloc().  It doesn't work with
unsigned integers right now, because the MPI standards people were
too lazy to make that very easy and I'm much too lazy to do it the
mildly difficult way, but it should be supported with FP types and
signed integers.

I'll Cc: this to libmesh-devel in case anyone else would find these
useful wrappers to play with.  You'll test out the use I just put into
your code and make sure that at least that one code path isn't now
horribly broken. ;-)
---
Roy

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to