[ET Trac] [Einstein Toolkit] #443: Output a stack backtrace on a fatal error in a simulation

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Aug 19 11:53:04 CDT 2011


#443: Output a stack backtrace on a fatal error in a simulation
--------------------------+-------------------------------------------------
  Reporter:  hinder       |       Owner:  hinder
      Type:  enhancement  |      Status:  review
  Priority:  major        |   Milestone:        
 Component:  Carpet       |     Version:        
Resolution:               |    Keywords:        
--------------------------+-------------------------------------------------

Comment (by eschnett):

 _GNU_SOURCE has other effects as well, and may create all sorts of
 problems e.g. with <math.h> or <stdlib.h>. We can try, but it could lead
 to a rat's tail of problems on the usual weird architectures (AIX, PGI/IBM
 compilers, non-x86 CPUs, etc.).

 Since this is an architecture specific piece of code, I suggest instead to
 #define _GNU_SOURCE before including these include files, but in such a
 way that only this source file is affected. If necessary, we can add this
 #define also to the autoconf macros.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/443#comment:13>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list