charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Phil Miller <phil AT hpccharm.com>
- To: "Gunter, David O" <dog AT lanl.gov>
- Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
- Subject: Re: [charm] DDT or Totalview debugger usage
- Date: Thu, 25 Feb 2016 19:22:23 -0600
Hi David,
I have used DDT to debug Charm++ applications before, but not specifically its specialized memory access error checking.On Thu, Feb 25, 2016 at 7:00 PM, Gunter, David O <dog AT lanl.gov> wrote:
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
- [charm] DDT or Totalview debugger usage, Gunter, David O, 02/25/2016
- <Possible follow-up(s)>
- Re: [charm] DDT or Totalview debugger usage, Phil Miller, 02/25/2016
Archive powered by MHonArc 2.6.16.