On Thu, Dec 2, 2010 at 2:07 PM, Jed Brown <span dir="ltr"><<a href="mailto:jed@59a2.org">jed@59a2.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><div class="gmail_quote">On Thu, Dec 2, 2010 at 21:00, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>The configure.log is moved to $PETSC_DIR/$PETSC_ARCH/conf/ so that</div><div>multiple builds do not overwrite it.</div></blockquote></div><br></div><div>Matt, I think a better way to do this is to write the file itself to the subdirectory and then symlink it from $PETSC_DIR (the best way would be when configure.py exits, even if via an exception).  The point is to make manipulation of $PETSC_DIR/configure.log atomic since multiple configure processes may be running at once (note that configure often takes significantly more time than compilation since the latter is parallel).</div>
</blockquote><div><br></div><div>The problem with this is that we automatically determine PETSC_ARCH in the course of configure, well</div><div>after we start logging. We do symlink it at the end.</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;"><font color="#888888"><div>Jed</div></font></blockquote></div>-- <br>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<br>