[gmx-developers] Re: [gmx-users] Wasting too much time recompiling

Tsjerk Wassenaar tsjerkw at gmail.com
Thu Jul 26 16:17:35 CEST 2007

Hi Lee-Ping,

I think this mail is better off on the developers list.
As a side note, please get your wording straight. I assume that with
'launch mdrun' you mean 'compile mdrun' rather than launching it as a
You probably issue "make" in the top-level directory, which goes
through the whole dependency tree. Since bondfree.c is part of the
mdrun library (libmd.la), which is amongst the dependencies of all the
tools, all the tools are updated too. If you only want to recompile
mdrun, goto the directory src/kernel, or use 'make mdrun', rather than
'make'. This will avoid recompilation of the tools (and the rest of
the programs).

Hope it helps,


On 7/26/07, Lee-Ping <leeping at mit.edu> wrote:
> Hi there,
> I'm editing the bondfree.c source code in gromacs.  The problem is, every
> time I launch mdrun to see what my program does, it recompiles not only
> bondfree.c, but every single tool in the src/tools directory!  It seems like
> an unnecessary waste of time to recompile all of these tools, when mdrun is
> the only program I'm launching.
> I'm using the Eclipse SDK with the C++ development tool, if that helps at
> all.
> Thanks in advance,
> - Lee-Ping
> _______________________________________________
> gmx-users mailing list    gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please search the archive at http://www.gromacs.org/search before posting!
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-users-request at gromacs.org.
> Can't post? Read http://www.gromacs.org/mailing_lists/users.php

Tsjerk A. Wassenaar, Ph.D.
Junior UD (post-doc)
Biomolecular NMR, Bijvoet Center
Utrecht University
Padualaan 8
3584 CH Utrecht
The Netherlands
P: +31-30-2539931
F: +31-30-2537623

More information about the gromacs.org_gmx-developers mailing list