[gmx-developers] Re: gmx-developers Digest, Vol 72, Issue 10

David van der Spoel spoel at xray.bmc.uu.se
Fri Apr 30 10:59:56 CEST 2010


On 2010-04-30 08.49, Igor Leontyev 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?
I'm not sure that using the enable-debug flag really adds -g. You might 
want to compile with
make CFLAGS=-g

-- 
David van der Spoel, Ph.D., Professor of Biology
Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone:	+46184714205.
spoel at xray.bmc.uu.se    http://folding.bmc.uu.se



More information about the gromacs.org_gmx-developers mailing list