Skip to Content.
Sympa Menu

charm - [charm] DDT or Totalview debugger usage

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] DDT or Totalview debugger usage


Chronological Thread 
  • From: "Gunter, David O" <dog AT lanl.gov>
  • To: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: [charm] DDT or Totalview debugger usage
  • Date: Fri, 26 Feb 2016 01:00:07 +0000
  • Accept-language: en-US

Has anyone ever used Allinea’s DDT or the Totalview debugger to examine
memory issues in the charm++ package?

We have a code that hits a memory error 40 iterations into a calculation and
we cannot figure out what is causing it. To make matters worse, this is on a
Cray XC system where we are building things statically.

Each of those debuggers requires one to link codes to instrumented malloc
libraries before running the code. I build charm++ like this (DDT example):

charm++ gni-crayxc persistent smp -j8 --no-build-shared -L$DDTROOT/lib/64
-ldmallocthcxx -Wl,--allow-multiple-definition -g -O0

and that seems to build a correct charm++ environment. However, the code
that is then built with charm++ will launch but hang at the first call to new
(malloc), so we cannot even advance to the point where the real bug occurs.

I’m just curious if anyone else as ever done anything like this and if so,
how?

Thanks,
david
--
David Gunter
HPC-5: Applications Readiness Team







Archive powered by MHonArc 2.6.16.

Top of Page