On Thu, Dec 2, 2010 at 2:07 PM, Jed Brown <jed at 59a2.org> wrote: > On Thu, Dec 2, 2010 at 21:00, Matthew Knepley <knepley at gmail.com> wrote: > >> The configure.log is moved to $PETSC_DIR/$PETSC_ARCH/conf/ so that >> multiple builds do not overwrite it. >> > > 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). >
The problem with this is that we automatically determine PETSC_ARCH in the course of configure, well after we start logging. We do symlink it at the end. Matt > Jed > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101202/6e31cbf5/attachment.html>
