where should config/configure.py put its log

Satish Balay balay at mcs.anl.gov
Thu Dec 18 12:53:36 CST 2008


I pushed this change. [moves logs to PETSC_ARCH/conf - and keeps
correct links in PETSC_DIR].

If configure process aborts before PETSC_ARCH is determined, the
logfiles remain in $PETSC_DIR.

So the stuff in PETSC_DIR is always correct - but the ones in
PETSC_ARCH/conf are latest - only if configure goes beyond setting
PETSC_ARCH.

One way to improve on this is to force 'framework' to do
utilities.arch.py much earlier.. [but the current dependencies on
petscdir,languages,compilerflags probably prevents this..].

Satish

On Wed, 17 Dec 2008, Barry Smith wrote:

> 
>  I guess having a link for both at the end would be ok. Just need to
> make sure the link is cleaned up (removed) at the beginning of the next run.
> 
>  Moving at the end for configure.py is fine also. You just need to move
> the code that does the file move after the catching of the exceptions
> in Configure.py
> 
>   Please try out making the changes,
> 
>   Barry




More information about the petsc-dev mailing list