[petsc-users] Question about correctly catching fp_trap
    Smith, Barry F. 
    bsmith at mcs.anl.gov
       
    Fri Jan  4 11:59:19 CST 2019
    
    
  
  Why did you quit the debugger?
(gdb) quit  
Why didn't set the appropriate gdb option for catching floating point exceptions and then type cont ?
  Barry
> On Jan 4, 2019, at 10:24 AM, Sajid Ali <sajidsyed2021 at u.northwestern.edu> wrote:
> 
> Spack changes the configuration if debug variant is enabled as per this line :
> 
> '--with-debugging=%s' % ('1' if '+debug' in spec else '0'), 
> 
> I'm not sure what needs to be done to change this. 
> 
> In the meantime, I added -g to CFLAGS in the makefile and now I have this : https://pastebin.com/wxf05BH0
    
    
More information about the petsc-users
mailing list