[Beowulf] backtraces

Craig Tierney ctierney at hypermall.net
Mon Jun 11 08:27:46 PDT 2007


Toon Knapen wrote:
> Interesting indeed. On which platform is this backtrace.so available 
> (obtaining backtraces is higly platform dependent AFAIK) ?
> 

The Intel Compiler provides backtraces.  I think (from memory) that
you compile with -g --traceback.

Craig




> toon
> 
> Mark Hahn wrote:
>> I had a user grumble about how it was not trivial to get a basic 
>> backtrace on our clusters.  his jobs tend to be 32-128p,
>> and run for a week, so it's not ideal to run them under the debugger.
>>
>> turns out to be fairly simple to produce a backtrace.so which can
>> be LD_PRELOAD'ed - it contains a constructor which registers a signal 
>> handler, which obtains the backtrace and translates and prints the 
>> corresponding file:func:line.
>>
>> does this sound like something of interest to other HPC sites?
>>
>> regards, mark hahn.
>> _______________________________________________
>> Beowulf mailing list, Beowulf at beowulf.org
>> To change your subscription (digest mode or unsubscribe) visit 
>> http://www.beowulf.org/mailman/listinfo/beowulf
> 
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit 
> http://www.beowulf.org/mailman/listinfo/beowulf
> 





More information about the Beowulf mailing list