<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 16, 2018 at 9:03 AM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-">On Thu, Mar 15, 2018 at 9:30 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On Thu, 15 Mar 2018, Stefano Zampini wrote:<br>
<br>
> it seems we can no longer print the available configure options in master<br>
><br>
> [szampini@localhost petsc]$ ./configure --help<br>
> ==============================<wbr>==============================<wbr>===================<br>
> Configuring PETSc to compile on your system<br>
><br>
> ==============================<wbr>==============================<wbr>===================<br>
<br>
</span>Hm - its just taking a long time.. The trigger is this change.<br>
<br>
>>>>>>>><br>
603e7a67219475153ffb5c1693e4f8<wbr>ee41f93af7 is the first bad commit<br>
commit 603e7a67219475153ffb5c1693e4f8<wbr>ee41f93af7<br>
Author: Satish Balay <<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>><br>
Date: Thu Mar 8 20:02:30 2018 -0600<br>
<br>
rdict: attempt to workarround (not always reproduceable) error<br>
<br>
*** Using PETSC_DIR=/home/sandbox/petsc/<wbr>petsc.next PETSC_ARCH=arch-linux-opt-misc ***<br>
No cached configure in RDict at /home/sandbox/petsc/petsc.next<wbr>/arch-linux-opt-misc/lib/petsc<wbr>/conf/RDict.db<br>
<br>
:040000 040000 654ea5265523cbcbb50b1104be63b5<wbr>c7899b4478 01384d9a268f7c89859c64f9f091be<wbr>e066d47cda M config<br>
<<<<<<<<<<<<<<<br>
<br>
But I see script.py has code:<br>
<br>
if self.hasHelpFlag():<br>
self.argDB.readonly = True<br>
<br>
<br>
This code is not getting triggered '-h'/--help - I don't know if this is the correct behavior. Matt?<br></blockquote><div><br></div></span><div>Satish, I don't think this can be our fix. This writes to disk every time a value is changed. We need to know</div><div>why the forced write at the end of configure was not working. This makes everything forced.</div><div><br></div><div>I will look at why readonly is not working.</div></div></div></div></blockquote><div><br></div><div>This works for me. Do you want to put it in your branch, or should I check it in?</div><div><br></div><div> Matt</div><div><br></div><div><div>diff --git a/config/BuildSystem/RDict.py b/config/BuildSystem/RDict.py</div><div>index 2dc745f..efc8b81 100755</div><div>--- a/config/BuildSystem/RDict.py</div><div>+++ b/config/BuildSystem/RDict.py</div><div>@@ -218,7 +218,7 @@ Arg class, which wraps the usual value.'''</div><div> print '-----------------------------------------------------------------------'</div><div> pass</div><div> dict.__setitem__(self, key, value)</div><div>- self.save()</div><div>+ self.save(force = 0)</div><div> else:</div><div> return self.send(key, value)</div><div> return</div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> Matt</div><span class="gmail-"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Same slowdown with --with-packages-dir= [which behaves as help in one<br>
case - and no-help in the other case].. And we have this chane to fix<br>
its its misbehavior with --prefix<br>
<br>
6ffe0648adde44dfc4a394659acd0d<wbr>3e40176240<br>
<span class="gmail-m_7051155198569589582HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span></blockquote></span></div><span class="gmail-HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_7051155198569589582gmail_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/~<wbr>knepley/</a><br></div></div></div></div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="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>