<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 16, 2018 at 9:26 AM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, 16 Mar 2018, Matthew Knepley wrote:<br>
<br>
</span><span class="">> This works for me. Do you want to put it in your branch, or should I check<br>
> it in?<br>
><br>
> Matt<br>
><br>
> diff --git a/config/BuildSystem/RDict.py b/config/BuildSystem/RDict.py<br>
> index 2dc745f..efc8b81 100755<br>
> --- a/config/BuildSystem/RDict.py<br>
> +++ b/config/BuildSystem/RDict.py<br>
> @@ -218,7 +218,7 @@ Arg class, which wraps the usual value.'''<br>
> print<br>
> '-----------------------------<wbr>------------------------------<wbr>------------'<br>
> pass<br>
> dict.__setitem__(self, key, value)<br>
> - self.save()<br>
> + self.save(force = 0)<br>
> else:<br>
> return self.send(key, value)<br>
> return<br>
<br>
</span>How about reducing the number of times save is called - i.e try<br>
calling it only once at the end. Would that work?<br>
<br>
diff --git a/config/BuildSystem/RDict.py b/config/BuildSystem/RDict.py<br>
index 2dc745f1aa..98a2a16a29 100755<br>
--- a/config/BuildSystem/RDict.py<br>
+++ b/config/BuildSystem/RDict.py<br>
@@ -195,7 +195,7 @@ Arg class, which wraps the usual value.'''<br>
else:<br>
self.writeLogLine('__getitem__<wbr>: Setting local type for '+key)<br>
dict.__setitem__(self, key, nargs.Arg(key))<br>
- self.save()<br>
+ #self.save()<br>
self.writeLogLine('__getitem__<wbr>: Setting local value for '+key)<br>
return dict.__getitem__(self, key).getValue()<br>
<span class=""><br>
@@ -218,7 +218,7 @@ Arg class, which wraps the usual value.'''<br>
print '-----------------------------<wbr>------------------------------<wbr>------------'<br>
pass<br>
dict.__setitem__(self, key, value)<br>
- self.save()<br>
</span>+ #self.save()<br>
<span class=""> else:<br>
return self.send(key, value)<br>
return<br>
</span>@@ -232,14 +232,14 @@ Arg class, which wraps the usual value.'''<br>
dict.__setitem__(self, key, nargs.Arg(key))<br>
dict.__getitem__(self, key).setValue(value)<br>
self.writeLogLine('__setitem__<wbr>: Set value for '+key+' to '+str(dict.__getitem__(self, key)))<br>
- self.save()<br>
+ #self.save()<br>
return<br>
<br>
def __delitem__(self, key):<br>
'''Checks for the key locally, and if not found consults the parent. Deletes the Arg completely.'''<br>
if dict.has_key(self, key):<br>
dict.__delitem__(self, key)<br>
- self.save()<br>
+ #self.save()<br>
elif not self.parent is None:<br>
self.send(key)<br>
return<br>
@@ -248,7 +248,7 @@ Arg class, which wraps the usual value.'''<br>
'''Clears both the local and parent dictionaries'''<br>
if dict.__len__(self):<br>
dict.clear(self)<br>
- self.save()<br>
+ #self.save()<br>
if not self.parent is None:<br>
self.send()<br>
return<br>
<br>
My simple 'configure --prefix && make && make install' test appears to<br>
work with the above change - but don't know if the random crashes in<br>
nightlybuilds will come back or not..</blockquote><div><br></div><div>I do not want to do that until its rewritten. There is already a save call at the end which was not working.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.caam.rice.edu/~mk51/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div>
</div></div>