[gmx-developers] debugging gromacs with DDD

Axel Kohlmeyer akohlmey at cmm.chem.upenn.edu
Fri Apr 30 18:48:06 CEST 2010

On Fri, Apr 30, 2010 at 1:36 AM, Igor Leontyev <ileontyev at ucdavis.edu> wrote:
> Hi,
> I am trying to use DDD interface to debug mdrun program. DDD invocation,
> however, generate an error:
> "../sysdeps/i386/elf/start.S: no such file or directory"
> How to fix it?


i don't think there is anything to fix.

a) it is not really an error and if it is something that
  renders DDD unusable, you should report it on a
  suitable forum to the DDD developers. DDD only
  tries to display the source code of the first executable
  statement and that is the code in this file.

b) this has nothing to do with gromacs, but is a source file
  that belongs to glibc. if you install the glibc debug
  info package, you should get pointed to that file.
  in any case, this is the assembly startup code.
  unless you want to debug glibc, you should not link
  to the debug version of glibc in the first place.

c) if you set "main" as a breakpoint, and then continue
  until you reach it, you should be fine.


> GMX and FFTW codes were compiled with "-enable-debug" flag on configure
> step. DDD is called by the command: "ddd $gmx_path/mdrun_db". GDB debugging
> (no GUI) starts without errors.
> Environment is Ubuntu 9.10, DDD3.3.12.
> --
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the www interface
> or send it to gmx-developers-request at gromacs.org.

Dr. Axel Kohlmeyer    akohlmey at gmail.com

Institute for Computational Molecular Science
Temple University, Philadelphia PA, USA.

More information about the gromacs.org_gmx-developers mailing list