[mpich-devel] Issue with too many calls to MPIR_Add_finalize

Dave Goodell (dgoodell) dgoodell at cisco.com
Thu Jun 4 17:58:06 CDT 2015


On Jun 4, 2015, at 4:00 PM, Rob Latham <robl at mcs.anl.gov> wrote:

> On 06/04/2015 02:26 AM, Lisandro Dalcin wrote:
>> 
>> 
>> Although I've not tested, this fix should be enough:
> 
> That's a good fix.  My only concern is if we hit the limit not because it is too small, but because something is going wrong.

I would also be a bit concerned about that.

> Hey, we doubled the value back in 2008.  Maybe we just double it every 6.5 years and we're fine for a few decades.

A linked-list-based stack of malloc-ed nodes is a pretty easy fix for this too, instead of having some arbitrarily sized array.  But that's assuming that Rob's earlier concern is not actually an issue.

-Dave



More information about the devel mailing list