[petsc-dev] making BuildSystem hard to debug

Barry Smith bsmith at mcs.anl.gov
Wed Mar 21 10:24:06 CDT 2012


On Mar 21, 2012, at 8:38 AM, Matthew Knepley wrote:

> On Wed, Mar 21, 2012 at 8:22 AM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> 
>  Matt,
> 
>   One thing that has always pissed me off about BuildSystem but for some reason I never had the energy to bitch about is when a compile goes wrong, BuildSystem logs the source code that wouldn't compiler BUT IT DOES NOT LOG THE CONTENTS OF THE TWO FILES
> 
> #include "confdefs.h"
> #include "conffix.h"
> 
> MAKING DEBUGGING HARDER. Can you please have BuildSystem log these files when it logs the source code that didn't compiler.
> 
> We originally did this. It was way too long. I just debugged the same thing.

   If you just dump it on a crash then length doesn't matter.  Without it one is left to completely guess exactly what is in them and could have triggered the problem.


   Barry

> 
>    Matt
>  
>   Thanks
> 
> 
>   Barry
> 
> 
> 
> 
> 
> -- 
> 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




More information about the petsc-dev mailing list