[gmx-developers] debugging gromacs with DDD

Berk Hess hess at cbr.su.se
Fri Apr 30 17:45:23 CEST 2010

Aleksandr Morozenko wrote:
> Rar не прошёл, нужен другой формат архива.
> On Thu, Apr 29, 2010 at 11:55 PM, 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?
>>>>> GMX and FFTW codes were compiled with "-enable-debug" flag on
>>>>> configurestep. 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.
>>>> That suggests you have a problem with DDD, rather than GROMACS. Do other
>>>> codes run under DDD? Have you checked it's troubleshooting FAQ/whatever?
>>>> Mark
>>> And have you tried with good olg gdb?
>> I used only gdb provided with Ubuntu 9.10 and recent release of gcc4.5.
>> DDD's tutorial sample was debugged without any problem. Solutions suggested
>> in internet mainly refer to the lack of compilation without "-g" flag which
>> seems to be not my case.
>> Could successful DDD users give me some hint how to correctly debug gromacs?
To get debugging info into your binary with gcc you need to add
something like:
CFLAGS="-O0 -msse2 -g"
to your configure command line.


More information about the gromacs.org_gmx-developers mailing list