Do not ignore errors in Makefile

Barry Smith bsmith at mcs.anl.gov
Fri Jun 8 20:17:00 CDT 2007


  You can edit bmake/common/rules and look for the rule .c.o
For fortran files look in bmake/$PETSC_ARCH/petscrules

   Barry


I'll see about making this an option in petsc-dev


On Fri, 8 Jun 2007, Shi Jin wrote:

> Hi,there,
> 
> I found that the default behavior of compiling a PETSc
> program composed of many source files is that errors
> are ignored and compilations continue to the next
> source file when an error is encountered during
> "make".
> I think it is caused by the "-" sign in the Makefile.
> There may be a good reason to have this feature but
> for my code, I really don't want it. I want to he
> process to stop so that I can immediately deal with
> the error. Is there a way to accomplish this feature?
> I guess something must be changed inside
> ${PETSC_DIR}/bmake/common/base etc but it seems quite
> complicated to figure it out. Could you please help me
> here? Thank you very much.
> 
> Shi
> 
> 
>  
> ____________________________________________________________________________________
> Food fight? Enjoy some healthy debate 
> in the Yahoo! Answers Food & Drink Q&A.
> http://answers.yahoo.com/dir/?link=list&sid=396545367
> 
> 




More information about the petsc-users mailing list